Forum Discussion
hallsofvallhall
11 years agoHonored Guest
Unity Build Issues with android
I have Unity 4.6.3 and added the OVR package, created a scene, dropped in the OVR character controller and when I build I get
NullReferenceException: Object reference not set to an instance of an object
OVRManager.get_profile () (at Assets/OVR/Scripts/OVRManager.cs:114)
OVRPlayerController.Update () (at Assets/OVR/Scripts/Util/OVRPlayerController.cs:152)
NullReferenceException: Object reference not set to an instance of an object
OVRCameraRig.ConfigureCamera (OVREye eye) (at Assets/OVR/Scripts/OVRCameraRig.cs:279)
OVRCameraRig.UpdateCameras () (at Assets/OVR/Scripts/OVRCameraRig.cs:147)
OVRCameraRig.LateUpdate () (at Assets/OVR/Scripts/OVRCameraRig.cs:113)
NullReferenceException: Object reference not set to an instance of an object
OVRPlayerController.OnDisable () (at Assets/OVR/Scripts/Util/OVRPlayerController.cs:130)
Assets/OVR/Scripts/OVRManager.cs(401,24): error CS0246: The type or namespace name `OVRVolumeControl' could not be found. Are you missing a using directive or an assembly reference?
NullReferenceException: Object reference not set to an instance of an object
OVRManager.get_profile () (at Assets/OVR/Scripts/OVRManager.cs:114)
OVRPlayerController.Update () (at Assets/OVR/Scripts/Util/OVRPlayerController.cs:152)
NullReferenceException: Object reference not set to an instance of an object
OVRCameraRig.ConfigureCamera (OVREye eye) (at Assets/OVR/Scripts/OVRCameraRig.cs:279)
OVRCameraRig.UpdateCameras () (at Assets/OVR/Scripts/OVRCameraRig.cs:147)
OVRCameraRig.LateUpdate () (at Assets/OVR/Scripts/OVRCameraRig.cs:113)
NullReferenceException: Object reference not set to an instance of an object
OVRPlayerController.OnDisable () (at Assets/OVR/Scripts/Util/OVRPlayerController.cs:130)
Assets/OVR/Scripts/OVRManager.cs(401,24): error CS0246: The type or namespace name `OVRVolumeControl' could not be found. Are you missing a using directive or an assembly reference?
1 Reply
Replies have been turned off for this discussion
- rahuloculusHonored Guestuse project setting from "mobile_sdk_0.5.0" and use unity integration script from "ovr_unity_0.4.4_lib" this works fine with Unity 4.6.3 version.
I hope this will work with you.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 9 months ago