Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

OVRHaptics.Process() throwing exception when removing headset (v1.28.0 / SDK 1.39.0, Unity 2019.1)

snobalpaulsnobalpaul Posts: 1
NerveGear
Hello,

Getting this exception being thrown in the console when removing a Rift S headset...
This is happening in the Unity Editor, using Unity v2019.1.11f1, Oculus Utilities v1.28.0, OVRPlugin v1.28.0, SDK v1.39.0.
Not using touch controllers, it's currently a passive presentation-type app.
ArgumentException: start_index + length > array length
Parameter name: length
System.Runtime.InteropServices.Marshal.Copy (System.Byte[] source, System.Int32 startIndex, System.IntPtr destination, System.Int32 length) (at <7d97106330684add86d080ecf65bfe69>:0)
OVRHaptics+OVRHapticsOutput.Process () (at Assets/ThirdParty/Hardware/Oculus/VR/Scripts/OVRHaptics.cs:243)
OVRHaptics.Process () (at Assets/ThirdParty/Hardware/Oculus/VR/Scripts/OVRHaptics.cs:369)
OVRManager.LateUpdate () (at Assets/ThirdParty/Hardware/Oculus/VR/Scripts/OVRManager.cs:1458)
Screengrab of the camera rig prefab using the OVRManager component, pretty standard implementation:


Sign In or Register to comment.