- Home /
Game crashes when moving VR Camera
Bit of an odd error that has me stumped.
Everything works fine when the Quest2 is plugged in and run from the inspector. Once I build the game however, any time I try to move the controller (empty object the camera is parented to) the game goes black. If I try parenting the controller to the terrain, everything freezes entirely.
This is what my controller looks like. When debugging I can move the empty object around, parent it, no problems. The two lines of code below are what makes it crash only when built. Once commented out there are no other problems.
Your answer
Follow this Question
Related Questions
Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers
Joystick isn't recognize by Unity when i activate CardBoard option 0 Answers
Trying to create a VR Drag movement system, but not much documentation... 0 Answers
Can I use oculus rift hand tracking for locomotion? 0 Answers
Markerless AR 0 Answers