cancel
Showing results for 
Search instead for 
Did you mean: 

Getting started in Unity, simple problem - Solved

Anonymous
Not applicable
Hey guys,
I'm sure this is a stupid problem to have but I'm still somewhat new to Unity and I might be overlooking something easy to spot. Anyway, I'm getting a stream of Null Reference Exceptions when I run the Unity Touch sample. They are coming from the OVRInput script, relating to most of the code within. The headset track fine and the controllers work in other applications and in Unreal. I am using Unity .24b with VR mode enabled.

Thanks in advance, Matt. 
2 REPLIES 2

Glightgames
Protege
Hi Matt,

I believe you need the newer f versions of Unity or Unity Beta (We're using the latest non Beta version now).
If it's null references, then objects the script is looking for are unreachable - probably because a code compile error.

Make sure VR is enabled in the project. Edit, Project Settings, Player, Virtual Reality - Tick it.
Check you have both the OVR & OVRTouch plugins in the project too.

Do the OVR demos work OK?

Anonymous
Not applicable
Hey Glightgames,

Thanks a lot for your response, I'm not sure what the issue was, but after a few more re-installs and finding an old version of Unity on my system that was hiding from me; its fixed! I cant wait to see what these babys can do haha!

Thanks again, Matt