# CloudXR Client using Unity Plugin crashes

**URL:** <https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916>\
**Category:** CloudXR (VR and AR Streaming)\
**Created:** [November 24, 2023, 12:26pm UTC](https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916 "2023-11-24T12:26:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_kojima.hiroki](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@p\_kojima.hiroki](https://forums.developer.nvidia.com/u/p_kojima.hiroki)\
**Post date:** [November 24, 2023, 12:26pm UTC](https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916/1 "2023-11-24T12:26:56Z")

</div>

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](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](https://forums.developer.nvidia.com/uploads/short-url/mAd1gfAXYbDCaI915dc6QpAY8wv.txt) (5.5 KB)  
[Client\_Android\_Logcat.log](https://forums.developer.nvidia.com/uploads/short-url/2PgNCA1gCUZRqphQgNKxTnmeAaH.log) (213.3 KB)

---

<div class="post-metadata">

**Author:** ![nobat](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nobat/32/297696_2.png) [@nobat](https://forums.developer.nvidia.com/u/nobat)\
**Post date:** [November 25, 2023, 11:47am UTC](https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916/2 "2023-11-25T11:47:53Z")

</div>

On client device(Quest 2), you can find extra log file, it must be on path of [Application.persistentDataPath](https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html). 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.

---

<div class="post-metadata">

**Author:** ![p\_kojima.hiroki](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@p\_kojima.hiroki](https://forums.developer.nvidia.com/u/p_kojima.hiroki)\
**Post date:** [November 27, 2023, 6:06am UTC](https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916/3 "2023-11-27T06:06:48Z")

</div>

Thank you for your reply.

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

```auto
(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](https://forums.developer.nvidia.com/uploads/short-url/rW9F6ClCbO7oiQ2r2WPV4zRxgIL.txt) (3.1 KB)  
[CxruAutoconnectSampleLog\_2023-11-27\_14-32-08.txt](https://forums.developer.nvidia.com/uploads/short-url/psbV0noW2ZkTtl3L7peDeHjXGN0.txt) (487.5 KB)  
[Streamer Client Log 2023-11-27 14.32.09.txt](https://forums.developer.nvidia.com/uploads/short-url/9xhVaNyxwvwXplZvSLQFQzs1YlP.txt) (528.3 KB)  
[Streamer Server Log 2023-11-27 14.29.06.txt](https://forums.developer.nvidia.com/uploads/short-url/l16dZpjUMdwY0uoIK7cIASVSfiE.txt) (205.6 KB)

---

<div class="post-metadata">

**Author:** ![p\_kojima.hiroki](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@p\_kojima.hiroki](https://forums.developer.nvidia.com/u/p_kojima.hiroki)\
**Post date:** [November 27, 2023, 7:52am UTC](https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916/4 "2023-11-27T07:52:51Z")

</div>

Was self resolved. The router settings were not correct.

After check the settings, I was able to connect.

Thank you for watching.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [December 11, 2023, 7:53am UTC](https://forums.developer.nvidia.com/t/cloudxr-client-using-unity-plugin-crashes/273916/5 "2023-12-11T07:53:40Z")

</div>

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