OVRBoundary.GetGeometry(...) sometimes causing an error
Some of our users have reported the following error (taken from output.log) when we try to access OVRManager.boundary.GetGeometry(OVRBoundary.BoundaryType.OuterBoundary):
Which leads to our game crashing.
What could be causing this error and how could we avoid it?
These are the current versions of Unity and all Oculus related stuff:
Unity v5.5.0f3, Oculus Utilities v1.9.0, OVRPlugin v1.10.0, SDK v1.13.0.
ArgumentNullException: Argument cannot be null.
Parameter name: src
at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:copy_from_unmanaged (intptr,int,System.Array,int)
at System.Runtime.InteropServices.Marshal.Copy (IntPtr source, System.Single[] destination, Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0
at OVRBoundary.GetGeometry (BoundaryType boundaryType) [0x00000] in <filename unknown>:0 Which leads to our game crashing.
What could be causing this error and how could we avoid it?
These are the current versions of Unity and all Oculus related stuff:
Unity v5.5.0f3, Oculus Utilities v1.9.0, OVRPlugin v1.10.0, SDK v1.13.0.
