CloudXR Client using Unity Plugin crashes

I tried built a client following the steps below, but it crashes when I start the application on Oculus Quest 2.
Can someone please guide me on what could be wrong here ?

https://docs.nvidia.com/cloudxr-sdk/unity_guide/guide.html

Unity version: 2022.2.12f1
Oculus Quest 2 Version: 59.0.0.172.706.535797236
CloudXR Server: 4.0.0
UnityPlugin: 0.1.0

Here are the Client and Server logs.

CloudXR Server - SteamVR Log 2023-11-24 16.05.09.txt (5.5 KB)
Client_Android_Logcat.log (213.3 KB)

On client device(Quest 2), you can find extra log file, it must be on path of Application.persistentDataPath. You will find two important log file. I recommend delete all files and try to start you app again. There will two important log file CxruAutoconnectSampleLog_*****.txt and Streamer_Client_Log_****.txt. If there are any problem, you will find it there.

Thank you for your reply.

When I checked the log, I found the following error.

(E)[2023-11-27 05:47:27,226]=14:47:27=*00000*{508616218992}<NvNetworkCommon>  Socket Bind: failed to bind socket 230 to ... (Error: 98)
(E)[2023-11-27 05:47:27,226]=14:47:27=*00000*{508616218992}<SignalingHandler> ClientSession: no available port in range: 50000-55000 (Error: 0x8000000B)
(E)[2023-11-27 05:47:27,226]=14:47:27=*00000*{508616218992}<SignalingHandler> clientPorts.useReserved: Failed to create a bound VIDEO stream on ....

So I tried the following but could not connect.

  • Disable the server firewall
  • Check the security group settings for the server instance

Do I need to make any settings on the client device (Quest2)?

CloudXR Server - SteamVR Log 2023-11-27 14.29.02.txt (3.1 KB)
CxruAutoconnectSampleLog_2023-11-27_14-32-08.txt (487.5 KB)
Streamer Client Log 2023-11-27 14.32.09.txt (528.3 KB)
Streamer Server Log 2023-11-27 14.29.06.txt (205.6 KB)

Was self resolved. The router settings were not correct.

After check the settings, I was able to connect.

Thank you for watching.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.