cancel
Showing results for 
Search instead for 
Did you mean: 

Unity 4.6.2 causes a crash

korinVR
Expert Protege
I'm having a trouble since Unity 4.6.1p4.

- Create a project with Unity 4.6.2 (or 4.6.1p4, p5)
- Import OculusUnityIntegration.unitypackage (0.4.4)
- Replace Main Camera with OVRCameraRig
- Play causes this error.

NullReferenceException: Object reference not set to an instance of an object
OVRCameraRig.ConfigureCamera (OVREye eye) (at Assets/OVR/Scripts/OVRCameraRig.cs:187)
OVRCameraRig.UpdateCameras () (at Assets/OVR/Scripts/OVRCameraRig.cs:116)
OVRCameraRig.LateUpdate () (at Assets/OVR/Scripts/OVRCameraRig.cs:92)

- And restarting Unity and reopening the project causes an immediate crash (Unity Bug Reporter).

Unity 4.6.1p3 works fine, so I suspect this problem is caused by the Oculus related changes brought on Unity 4.6.1p4.
Maybe the upcoming Oculus SDK will work fine? 🙂

Configuration ---
Unity 4.6.2
Oculus SDK 0.4.4
Oculus Rift DK2 (Firmware: 2.12)
Windows 8.1 Pro (64bit)
GeForce GTX 750 Ti (driver version: 347.25)
Core i7-3770K 3.5GHz
DELL U3014(2560x1600) + Mitsubishi RDT233WX(1920x1080)
10 REPLIES 10

peterept
Protege
Thanks @BradleyNewman for letting us know before downloading the 1.4GB 4.6.2p2.
Really appreciate it.
So far working correctly!!