For some time now, I can’t open a VR Project with the virtual reality glasses (I use Pico 4) connected because the project freezes when it is 35% loaded.
I have tried multiple times and with different files and it never loads the project. I usually wait more than 30 minutes. It only opened the project once, but the button to test the level in VR mode was grey.
I use a laptop with the following specifications: Ryzen 7 6800H, 16GB of RAM and an RTX 3070.
I have tried to do the following things to try to solve this problem with no results:
Update the glasses.
Update the Streaming Assistant.
Update Steam VR.
Update the graphics card drivers.
Verify the version of Unreal Engine (I use 5.1.1)
Try another version of Unreal Engine (5.0.3)
On the other hand, I have tried on another computer with lower specifications and it worked perfectly.
What could I do to solve this problem? Thank you very much in advance.
I’m not sure what to make of the fact that it opens on another computer. But one important aspect of troubleshooting projects that wont open would be manually disabling plugins.
Open your projects .uproject file with a text editor, if you enabled any extra plugins, you can now disable them by changing ‘true’ to ‘false’.
Also, if you open your project in 5.1.1, you will not be able to go backwards in UE versions. (Make a copy of project + Try 5.2?)
Hello Astrotronic. Thank you very much for your help.
I have tried both tips.
On the one hand, I still cannot open VR levels using version 5.2.
On the other hand, I have tried setting the state of the plugins to “false” by opening the file with a text editor and I have been able to verify that by setting the OpenXR plugin to “false”, it opens the file without problems. However, when it starts up, it asks me to enable this plugin and then restarts the file, so it freezes at 35% again.
Is it possible that there is an incompatibility between Pico 4 and this plugin?
I am using the application that came by default with the Pico 4. If I use the Virtual Desktop application, could this incompatibility be resolved?
Last time I didn’t mention that if I don’t have VR headset connected, I can open these files perfectly.
I just tried it both ways and it still doesn’t work.
I tried only with the OpenXR plugin from PICO and the file opens without problems, but the VR Preview button is grayed out and I get a message to activate the “real” OpenXR plugin.
If I start the file with both plugins active, it freezes at 35%.
Some time ago I could open VR files on this computer without any problems with PICO 4. Could there have been any changes that caused this error?
I’ve tried both options and, when I tried to open the OpenXR Explorer, I’ve had exactly the same problem that when I open an UE5 file.
I mean, when I have the PICO 4’s headset connected, I can’t open it and when I disconnect the headset and I open the OpenXR Explorer, it runs perfectly.
On the other hand, I reckon that the problem doesn’t come from the headset, it comes from Steam VR.
I think that because I’ve tried to open an UE5 file and the OpenXR Explorer with Steam VR running and the PICO 4’s headset disconnected and I nether can’t.
I’ve been checking if there was other OpenXR runtime, but when I open OpenXR Explorer (without run Steam VR) it indicates that Steam VR is the default OpenXR runtime and, searching in Windows register, in [HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1], I have as “ActiveRuntime” =“C:\Program Files (x86)\Steam\steamapps\common\SteamVR\steamxr_win64.json”.
I tried to set WMR as the runtime and, with the VR headset connected, I managed to get the UE5 VR file to start.
However, as expected, the button to test the level in VR was grayed out.
I don’t know what else I can do to solve this problem. I’m thinking of buying the Meta Quest, but I’d rather not.
Does anyone have any solutions?
Yes, I tried it back in the day and it didn’t work.
However, I guess that the problem is not the UE5 file; it’s the SteamVR runtime. When I open the file with the SteamVR OpenXR runtime, it doesn’t open. When I do it without the Steam runtime, it opens perfectly. The problem is that without this runtime, the computer doesn’t recognize the headset and, consequently, the button to test the VR mode is grayed out.
It’s a longshot, but one thing I’ve seen that can cause similar initialization errors is broken OpenXR API layers. If you have any installed, they should show up in the registry under [HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenXR\1\APILayers]
I´ve tried to follow your advices. This are the results:
Steam VR work with my headset in other situations. (I´ve played a tutorial game from Steam VR´s store).
I´ve tried to open Hello XR, but I don´t know how (I´ve have download the Open XR-SDK-Source which contains the Hello XR test following your link).
I´ve checked if I have any OpenXR API layer installed, but I don´t have any. (I attach a screenshot from the registry and a screenshot from the SteamVR app).
I tried with Blender and it worked perfectly. Then, I tried with UE5 and it worked as well.
However, I opened the level again after some time, I forgot to set the value of the command ‘r.RayTracing.ForceAllRayTracingEffects’ to ‘0’, and, when I tried the VR mode, it was very slow and crashed. I tried to open the file again, but now it freezes at 35%. Moreover, VR is not working in Blender either.
I missed it the last time, but in your screenshot of the SteamVR settings, most of the categories are missing. This happens when there is no VR driver loaded. IIRC it will only load drivers for standalone headsets if you actually have the headset connected and turned on. If there is no driver loaded, the OpenXR initialization will fail, and Unreal does not retry it while the engine is running.
Make sure you have the VR headset running in SteamVR (with the compositor background or SteamVR Home visible) before you start the Unreal editor.
Hi, this is because in that moment, I don’t have the VR connected due to I just want to show that the active runtime was the Steam VR runtime.
I have the problem I’m describing when I connect the VR headset.
However I guess that the problem comes from the SteamVR runtime, which doesn’t work properly, and I don’t know how to solve that.
You must have your headset on and linked through airlink or virtual destop
before you open unreal engine!
most projects also require steam vr to be running but not all
when unreal boots up it looks for the headset, if you are not plugged in and running the pico or meta link, or have VD running, then unreal marks the startup as not have vr available.
About 3 monmths ago epic made a minor update to 5.2
sincer then I personally have not been able to open any vr project in 5.2
5.3 is fine.