I’m getting multiple crashes in Unity when starting VR scenes. Symptoms:
- Scene starts
- Get the message to put on the headset
- Headset appears to have light
- Headset goes on
- Headset goes white
- Headset goes black
- Unity Crashes
I’m getting multiple crashes in Unity when starting VR scenes. Symptoms:
Additional info. I managed to catch it between the HMD going black and the crash and stopped the play. This prevented the crash, but next time I ran the scene no HMD was detected by Unity. I have to restart Unity and power cycle the headset to recover.
Hi freekstorm,
Can you please submit a bug report along with the crash logs and post the case # here?
There are known issues with outdated SteamVR plugins and the new native support. We are looking in to a way to catch the access violation caused by outdated plugins to give an informative error rather than a crash.
Please update to all the latest plugins and utilities to avoid crashes for now.
Thanks for your time and patience,
Will
I’ve submitted a bug, no case # yet.
I installed the latest plugin for SteamVR (first installation so no old rubbish).
If there is a place I can get updated oculus drivers please let me know where because I cant find any for the 5.4.0b9 release…
(Case 778363) 5.4.0b9 Multiple Crashes with OpenVR and Vive
I’m feeling really stupid right now. After playing about I realised that it was the process of putting it on my head that caused the problem. I pulled off the cable cover and found one of the connectors was loose, just enough that the cable strain would break the connection when putting the headset on , and make the connection when I put it on the table !
Sorry to have bothered everyone.
Thank you.
It’s worth noting that there are issues with the oculus dk2 + tracker + open VR. When the dk2 is outside of the tracking frustrum, the SteamVR client sends some bad data to Unity. We are still trying to decide who’s side of the fence this issue falls on (valves or ours, are we handling the data wrong or should they never have sent it in the first place). I have seen this problem cause everything from crashes, to garbage in the dk2 headset, to a frozen last frame.
Usually the work around is to cycle the DK2 and the SteamVR client, which sucks but we are working on making it not suck I swear!
Now I know you said Vive + OpenVR = Crash but I am having trouble reproducing the issue. Does this happen in a blank project? Or a basic project with some basic features (baked light, particles, occlusion, etc)? I’ll continue to dig in on this but any info you have will be much appreciated.
Hmmm, not stupid. For example, I don’t think a crash is a good response to a loose cable but that is a tricky case for us to catch. I will see what we can do about adding warnings when devices are not attached properly*.