Hi CloudXR team,
Our team has been working on integrating support for the Unity based CXR client, and we’ve run into a collection of issues that we were hoping you could shed some light on.
As a point of comparison, we have a functional native Android client based on the CXR 4.0 SDK, and none of the issues below are present, making us feel confident that these issues reside in the Unity SDK specifically. For reference, we are using v0.1.1 of the Unity SDK, and testing on a Quest 3.
The issues are listed below in order of importance for us:
1. Visual quality degradation
The visual quality for the Unity client is noticeably worse than in the Android client. It seems like the Unity client might be upscaling the resolution. Please see the attached videos for a comparison.
CXR-client comparisons.zip (39.1 MB)
2. Viewport offset
When connecting to a stream, the stream is being rendered in the direction where we had started the boundary calibration instead of the current HMD direction, requiring us to face the same direction where we were facing during boundary calibration and resetting the HMD to have it render in the correct orientation. If we don’t do this, there are very noticeable black areas visible in the viewport. This can also be seen in the attached videos.
I believe this is the same issue that others have described here:
3. Log spam
When the client cannot connect to the server, it is logging at a rate of about 190 log messages per milliseconds which is causing the log files to rapidly grow to the point of exhausting the storage on the device. The log message that is spammed is the following:
(I)[2024-02-01 23:56:19,296]=16:56:19=00000{533936572784} Wait For IO: wait was canceled by event: 0
(E)[2024-02-01 23:56:19,297]=16:56:19=00000{533936572784} UDP RTP Source: failed to receive data (Error: 0x80000013)
4. Crash when sleeping
We have observed that when taking off the HMD, it may go to sleep, when this happens occasionally the CXR Unity client will crash.
1 & 2 are critical for us in terms of delivering a workable solution to our customers, 3 & 4 are annoying but tolerable.
If there is any direction or guidance you can provide on any of these issues please let us know.
Cheers,
Chris