Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
modularize's avatar
modularize
Honored Guest
11 years ago

Works first time, then gray/black screen (SOLVED)

I've been using the Oculus Rift a lot when using unity, then for no reason that I can think of it stops working, when I click play button on the top, it fades from black to gray and now and then flickers, the flickering is showing the game how it should be. During this time I can still walk around and tilt the oculus rift to get different viewpoints. If I get near a door the words "Press 'E' to open door" shows up, then if I walk away, that message will still be there.
Restarting unity works ONLY the first time I click play, when I do this it works as intended. Then if I stop playing and click play again it doesn't work.
If I Build and Run, it doesn't work. If I restart Unity, then build it, then play the build, it works as intended. Then if I close the program and reopen it, it doesn't work. Clicking spacebar to show information shows that everything is either off or equal to 0, and the message "Press E to open door" will show up even when I'm not near any door. (it also does not flicker).
If I swap the OVRPlayerController for the OVRCameraRig it does the same thing, although if I swap it out with a First Person Controller or Main camera the camera works.
During the times it doesn't work, No errors or warnings show.
And finally, I created an entirely new project with no assets in it besides OVR and Plugins, I still have the same problem.

Going on other games such as the world demo or demo scene works fine

I'm using DK1.

Things that don't work:
Redownload and import a new OculusUnityIntergration and replace the old OVRplayercontroller.
Restarting the computer.
Turning Direct3D 11 off.
Turning off scripts that may interfere with the camera.

EDIT: Fixed it, I unplugged the Oculus Rift and plugged it back in again.
Replies have been turned off for this discussion