Forum Discussion
snobalpaul
7 years agoHonored Guest
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)
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
- somanystevesHonored GuestEver solve this? I'm hitting the same.
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
- 2 years ago
- 4 months ago
- 9 months ago