Hi CloudXR team,
We are working on running a Unity-based CloudXR client on an AWS EC2 G6e instance (using a L40S GPU) and have encountered some performance issues that we’re unable to resolve.
Issue Description
At the start of the connection to the CloudXR server, the Unity client performs as expected. However, within 5–10 seconds, performance degrades significantly, making it unusable. Specifically, viewport tracking slows down, and while it occasionally returns to normal, this behavior is inconsistent and unstable.
This issue occurs immediately after establishing a connection to the CloudXR server, even before launching any game or application.
It’s worth noting that when using an Oculus VR client built with the 4.0.1 CloudXR SDK, performance is vastly superior compared to our Unity-based client under similar conditions.
Steps Taken So Far
We have followed various recommendations from forum discussions, including:
Based on these, we’ve made the following configuration changes:
- newConfig.cxrLibraryConfig.cxrDebugConfig.enableAImageReaderDecoder = true;
- newConfig.cxrLibraryConfig.cxrDeviceConfig.maxResFactor = 1.5f;
- newConfig.cxrLibraryConfig.cxrDeviceConfig.foveatedScaleFactor = 0;
We’ve also tested the Unity client on a local machine with a headset on the same network. Under these conditions, the performance and visual quality are good but still not as great as the native Oculus client.
Request for Help
- Are there any additional steps or configurations we could try to achieve the same level of quality and performance in Unity as the Oculus VR client, particularly on cloud-based infrastructure like AWS EC2 G6e instances?
- Is there an upcoming release date for a new SDK version that would fix or improve the performance of the Unity plugin, making it closer to the Android Oculus VR client?
We have attached a video demonstrating the issue, along with server and client logs for reference.
Unity Client - G6e Performance Issues.zip (66.0 MB)
Any advice or suggestions would be greatly appreciated!
Thank you in advance for your help.