Using a Rift CV1 (no touch), UE4.14 Windows 10 pro x64
Toggling VR mode (using stereo on and stereo off) a second time will crash UE4 IF the Oculus application was launched before the UE4 project AND IF the Rift Proximity Sensor is NOT activated (Being worn)
Replication:
- Start with a blank project and
create a new, default map (with the
player start and sky, etc.) - Save the map and assign it as the
default map in the project settings - close the editor
- Launch Oculus application
- Launch UE4 project as Game (right
clicking on .uproject for example) - Once loadeded use the console to
issue the following commands:
hmd enable then
stereo on - The headset shoud become active and
you can put it on and see the scene
in VR (You may have to agree to the
health stuff, be sure to put on the
headset) - Type stereo off into the console
returning you to regular view - Remove the headset (deactivating the
proximity sensor) - Type stereo on again into the
console and - Crash UE4
Workaround:
To avoid this crash you simply must ensure the Oculus application is not running before loading your application. It will load when your project loads, but you should be able to switch without crashing.