Oculus Rift Build Freezes on Startup
I've developed a few games in Unity but this is my first time developing for Oculus. I've built a simple 3D space and in-engine everything seems to work fine. But when I build it as an executable and run that, it freezes immediately on startup. It definitely seems to be the Oculus causing this issue, as when I unplug the Oculus and run the build again it works fine.
Answer by ChaosDX · Sep 02, 2015 at 06:03 PM
I think I found a solution. I was opening the executable in Fullscreen. Looks like the Oculus absolutely must have the game run in Windowed mode to work.
I've done some more testing and I think the actual cause is that the Unity Editor was open, and that was already using the Oculus when the executable was trying to use it. I can't be sure right now but closing the Unity editor before running the executable works for me. Seems the full screen thing had nothing to do with it.
Your answer
![](https://koobas.hobune.stream/wayback/20220612002251im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do i build for direct to rift? 1 Answer
.NET 2.0 standalone build 0 Answers
Total filesize of textures doubling after build. 1 Answer
Model distortion when building to web 0 Answers
Build Error! :( 1 Answer