OVRGrabber stops working
Hi everyone,
I'm building a prototype with around 150-200 grabbable objects for a test. When throwing an object and if the collision with the ground or other objects is strong enough, the thrown object will instantiate a shattered prefab version of itself upon impact (with mesh colliders and rigidbodies) for creating the illusion that the object has broken.
After throwing a lot of objects around and instanciating lots of shards at some point I cannot grab anymore objects and there's an error in the console for the OVRGrabber script:
NullReferenceException: Object reference not set to an instance of an
object OVRGrabber.MoveGrabbedObject (Vector3 pos, Quaternion rot,
Boolean forceTeleport) (at Assets/OVR/Scripts/Util/OVRGrabber.cs:321)
Does anybody know how to fix this issue?
I'm building a prototype with around 150-200 grabbable objects for a test. When throwing an object and if the collision with the ground or other objects is strong enough, the thrown object will instantiate a shattered prefab version of itself upon impact (with mesh colliders and rigidbodies) for creating the illusion that the object has broken.
After throwing a lot of objects around and instanciating lots of shards at some point I cannot grab anymore objects and there's an error in the console for the OVRGrabber script:
NullReferenceException: Object reference not set to an instance of an
object OVRGrabber.MoveGrabbedObject (Vector3 pos, Quaternion rot,
Boolean forceTeleport) (at Assets/OVR/Scripts/Util/OVRGrabber.cs:321)
Does anybody know how to fix this issue?
