Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
snobalpaul's avatar
snobalpaul
Honored Guest
7 years ago

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

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:


1 Reply

Replies have been turned off for this discussion