Forum Discussion

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

"Quaternion To Matrix conversion" error in OVRTrackerBounds

Hi. This something I notice which happens on random occasion. I'm running Oculus SDK 0.6 on Unity 5.1.1p2.

I have no idea why but the following error will be thrown from the OVR Tracker Bounds Script.

Quaternion To Matrix conversion failed because input Quaternion is invalid {-0.000000, -0.000000, 0.000000, 0.000000} l=0.000000
UnityEngine.Matrix4x4:TRS(Vector3, Quaternion, Vector3)
OVRTrackerBounds:Update() (at Assets/OVR/Scripts/Util/OVRTrackerBounds.cs:146)


Again, some days I don't see this at all, some days I do.

Can anyone shed some light on this please?

4 Replies

Replies have been turned off for this discussion
  • I've seen this too. If it doesn't crash anything, I wouldn't really worry about it.
  • Thanks for your response. Yeah it usually tends to work fine regardless. Just spams my console with error messages but that's all. I'm glad it's not just me.
  • So what is the exactly issue? I observed that errors too while game is still running.
  • The problem is that we get some NaNs and zero values at startup in the native layer that don't get filtered out before Unity tries to consume them. We've fixed it for an upcoming release.