I created an empty project in Unity 5.1p1 including only standard assets characters.
Usig Gamma lighting, Forward rendering, no antialiasing.
Checked Virtuel Reality support (stereoscopic rendering is unchecked).
Oculus rift is on extended mode. Running demo oculus rift apps works.
Game view is set on maximize on play.
Whenever I press play Unity crashes.
If I build an application and run it, it crashes as well.
I’ve tried it in several of my projects as well as in mentioned empty object. In the empty object I tried it in a scene with a ground plane and first person character controller prefab from standard assets.
It still crashes on play.
Editor log shows crash happening at:
C:/buildslave/unity/build/Runtime/VR/Oculus/VRDeviceOculus.cpp Line: 46
Can you submit a bug and post case# with your full editor log? Looks like Oculus framework is trying to send a log message back to unity given the snippet you included. Full log may be more helpful.
Forgot to mention that I am using Oculus Rift DK2 with 0.6 runtime.
Submitted a bug report with editor log file and the project. Still waiting for the confirmation email.
Since I am on a very close project deadline, what should I do to? Revert back to Unity 5 and import the old integration package?
EDIT:
It is bug case 704975
Try updating to the latest Unity 5.1.0p1 Patch here: Download Archive
There are some updates to the Plugin that could resolve the problem. Since we don’t know what the problem is currently though, if this doesn’t work, it would be ideal that you revert back to a working version so that you can continue working on your project and look into the 5.1 error separately.
As I mentioned in the first post, I am already running the patch.
Did you manage to fix this? Having a similar problem
I moved my work to another PC, which doesn’t crash, however, it still doesn’t work because of the bug in oculus rift runtime many people are experiencing. Head tracking works however nothing displays on the oculus rift and no stereoscopic display.
I’ll update to the newest patch but it probably won’t solve my issues. Gonna try going back to non native support.
Experiencing this with unity 5.2.2 and oculus 0.8.0.0. Were you running multiple versions of unity on the same pc by chance? I’m pretty stuck here.