Hello,
I’m following the Unreal Engine Integration Guide, but cannot make it work, so I have multiple questions.
First, I just want to say I’ve successfully build the LOVR sample, and was able to connect to it both from my PC Chrome Browser and my Quest 3 Browser by running the simple server.
That being said, I’ve created a UE 5.5 VR Template and created a plugin as indicated in the documentation.
- I manage to have the CloudXR Runtime module working, or so I think, as the process goes through with no errors.
By the way, the documentation uses this as an example of setting Service Properties:
FString PropertyName = TEXT("server-port");
FString PropertyValue = TEXT("7000");
But the log reports it’s not working:
Error: Failed to set property ‘server-port’ ; result = -9 meaning NV_CXR_ERROR_PROPERTY_VALUE_INVALID.
- Regarding the CloudXR Opaque Data Channel, I cannot manage to have Unreal automatically call the
CreateInputDevicefunction. If I call it manually, it seems to work.
However, some functions are not called, and I’m not really sure how/when they’re supposed to be called (OnCreateSessionfor example).
The part of the documentation about that Module is not as clear as the part about the Realtime Module. And even that one was not super clear for someone who has never made a Module to handle stuff like this.
Anyway, when I try to connect with my Chrome browser or my Quest brower, I cannot connect and get the following error :
**⚠ Stream stopped: Error: Stream start failed with error code: 0xC0F22202
**
Additional log from the Browser:
Summary
Running on HTTP protocol - using insecure WebSocket (WS)
utils.ts:155 Using default server IP from window location: …
utils.ts:160 Using user-provided port: 49100
main.ts:163 Connected to Server localhost:49100…
iwer.min.js:1 Requested frame rate is the same as the current nominal frame rate, no update made
cloudxr.js:2 POST https://events.gfe.nvidia.com/v1.1/events/json net::ERR_NAME_NOT_RESOLVED
_0x422910 @ cloudxr.js:2
cloudxr.js:2 WebSocket connection to ‘ws://10.2.0.2:49100/sign_in?peer_id=peer-6737862040&version=2’ failed:
TT @ cloudxr.js:2Understand this error
main.ts:359 Stream stopped with error: Error: Stream start failed with error code: 0xC0F22202
at _0x2a9b6b.CloudXrNskStreamClientDelegate.onStreamStartFailed [as onStreamStartFailedCallback] (cloudxr.js:2:359842)
at _0x2a9b6b.CloudXrNskStreamClientDelegate.onStreamStartFailed (cloudxr.js:1:2352)
at _0x38e4eb.GE (cloudxr.js:2:285796)
at _0x548284.dE (cloudxr.js:2:188128)
at _0x35d01f (cloudxr.js:2:175332)
at _0x548284.hT (cloudxr.js:2:175598)
at _0x54ede6.onclose (cloudxr.js:2:142738)
onStreamStopped @ main.ts:359
onStreamStartFailed @ cloudxr.js:2
onStreamStartFailed @ cloudxr.js:1
GE @ cloudxr.js:2
dE @ cloudxr.js:2
_0x35d01f @ cloudxr.js:2
hT @ cloudxr.js:2
_0x54ede6.onclose @ cloudxr.js:2Understand this error
main.ts:163 Stream stopped: Error: Stream start failed with error code: 0xC0F22202
showStatus @ main.ts:163
onStreamStopped @ main.ts:360
onStreamStartFailed @ cloudxr.js:2
onStreamStartFailed @ cloudxr.js:1
GE @ cloudxr.js:2
dE @ cloudxr.js:2
_0x35d01f @ cloudxr.js:2
hT @ cloudxr.js:2
_0x54ede6.onclose @ cloudxr.js:2Understand this error
So, here is my list of questions:
- Can the fact that I cannot connect be related to the CloudXR Opaque Data Channel module not being fully functional ?
- If not, what could cause this ?
- How can I fix the CloudXR Opaque Data Channel module so the
CreateInputDevicefunction is correctly called by the Engine ? - Would it be possible to have a working Unreal Engine sample ?
- Could you check and fix the documentation ?
Thank you !