I’m getting this error spammed in the console every few seconds when in play mode.
Assertion failed on expression: ‘IsMatrixValid(matrix)’
I’m using “Virtual Reality Supported” in PlayerSettings and the Oculus SDK. I’m also using two cameras, one for the left eye and one for the right eye (to produce a stereo effect with separate left and right video). Splitting up the eyes was identified to be a problem in this discussion, although I wasn’t having any problems until I upgraded to 5.6. When I change my left camera’s settings to Target Eye: both and disable the right camera, the problem goes away. This obviously isn’t a good solution.
I’ve got the same problem. Everything was working before I updated my project to Unity 5.6 and now I’m spammed with that error. It seems there hasn’t been much success in fixing this error, but I can’t use the Oculus controllers until I get this fixed. Anyone have an answer to this?
Assertion failed on expression: ‘IsMatrixValid(matrix)’
Replying to my previous comment…I was able to fix my problem by removing all references to the main camera GameObject, which I has previously been calling so I could Raycast from the camera.