Forum Discussion
MikeF
8 years agoTrustee
Game breaking issues with home update 1.3.1.0.684290 & unity integration
as of the update to home 1.3.1 getting this error nonstop
OverflowException: Number overflow.
OVRHapticsClip..ctor () (at Assets/Oculus/VR/Scripts/OVRHapticsClip.cs:27)
OVRHaptics+OVRHapticsOutput..ctor (UInt32 controller) (at Assets/Oculus/VR/Scripts/OVRHaptics.cs:137)
OVRHaptics..cctor () (at Assets/Oculus/VR/Scripts/OVRHaptics.cs:25)
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for OVRHaptics
OVRManager.LateUpdate () (at Assets/Oculus/VR/Scripts/OVRManager.cs:1531)
tried running on 2017.3.1p4 & 2018.1.0b8 and same error in fresh projects with the latest complete integration pack on the asset store.
This is absolutely crucial that i have a workaround or fix asap, please advise @imperativity
tried running on 2017.3.1p4 & 2018.1.0b8 and same error in fresh projects with the latest complete integration pack on the asset store.
This is absolutely crucial that i have a workaround or fix asap, please advise @imperativity
11 Replies
Replies have been turned off for this discussion
- MikeFTrusteeNote: to reproduce import integration into fresh project, open avatar/samples/controllers/controllers.scene, press play, observe console
- MikeSwansonProtegeI have the same issue. As of Oculus Home 1.31.0.684290, our Unity 2018.1.8f1 project (using the 1.24.2 Utilities) throws this exception constantly:[Exception] ArgumentNullException: Value cannot be null.Parameter name: destOVRHaptics+OVRHapticsOutput.Process() Assets/OVR/Scripts/OVRHaptics.cs:237235: int dstOffset = acquiredSamplesCount * OVRHaptics.Config.SampleSizeInBytes;236: int srcOffset = 0;-->237: Marshal.Copy(m_paddingClip.Samples, srcOffset, m_nativeBuffer.GetPointer(dstOffset), numBytes);239: acquiredSamplesCount += desiredPadding;OVRHaptics.Process() Assets/OVR/Scripts/OVRHaptics.cs:362360: for (int i = 0; i < m_outputs.Length; i++)361: {-->362: m_outputs.Process();363: }364: }OVRManager.LateUpdate() Assets/OVR/Scripts/OVRManager.cs:13861384: private void LateUpdate()1385: {-->1386: OVRHaptics.Process();1387: }
- MikeFTrusteeAlso intermittently getting the issue mentioned by MikeSwanson
- MikeFTrustee@imperativity Thanks, always appreciated!
any idea if this will require an SDK update or be fixed automatically with a new home update? - MikeSwansonProtegeThanks, @imperativity...especially that you found time to respond during OC5. :smile:
- oksana_tvoriHonored GuestThe same problem at Unity v2018.2.10f1, OVRPlugin v1.28.0 and OVRPlugin v1.29.0
The workaround is to skip haptics input processing until OVRPlugin.HapticsDesc initialized. - MikeFTrustee
oksana.tvori said:
The same problem at Unity v2018.2.10f1, OVRPlugin v1.28.0 and OVRPlugin v1.29.0
The workaround is to skip haptics input processing until OVRPlugin.HapticsDesc initialized.
Could you show how you're doing this? It seems to re-init on every frame via late update, then as soon as controllers are visible it starts throwing the errors - oksana_tvoriHonored Guest@MikeF, yes config reloading is called every frame. Just mark OVRHaptics.Config as initialized once it no longer receives garbage data in OVRPlugin.GetControllerHapticsDesc().
- MikeFTrusteeunderstood, thanks oksana.tvori
- MikeFTrusteefix should be landing tomorrow from oculus for anyone else having this issue
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