Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

isMatrixValid Error

Discussion in 'Editor & General Support' started by blindmen, Sep 22, 2015.

  1. blindmen

    blindmen

    Joined:
    Sep 10, 2015
    Posts:
    34
    Hi,

    I'm getting this error while game is on in the unity:
    IsMatrixValid (matrix)
    UnityEditor.DockArea:OnGUI()

    everything looks like it works fine ...

    any suggestion how to fix it, or where it comes from ?

    Thanks
     
  2. scottunity

    scottunity

    Joined:
    Feb 1, 2014
    Posts:
    72
    Did you ever get this resolved? I'm getting the same error and it's providing no debug info.
     
  3. Khyrid

    Khyrid

    Joined:
    Oct 8, 2010
    Posts:
    1,790
    I just got this error

    Assertion failed on expression: 'IsMatrixValid (matrix)'
    UnityEditor.DockArea:OnGUI()


    Using Oculus Rift DK2, I went into a level I have tested many times and made no changes to and it looked like a second camera was trying to render above me. Everything was wigging out. Eventually other game features stopped working and I found this error.

    It doesn't give one much to work with.

    *Edit: I think the error was generated when I turned off my oculus trying to trouble shoot my problem.
     
    Last edited: Jan 1, 2017
  4. superjayman

    superjayman

    Joined:
    May 31, 2013
    Posts:
    185
    Any solution to this Unity 5.6 - VR dual camera setup, console spams
     
  5. joegrant

    joegrant

    Joined:
    Nov 1, 2015
    Posts:
    8
    I've also been working on this issue since I added Rift support to a game built on Vive. I went to Player Settings and moved the order of Oculus and OpenVR so that OpenVR was first and the issue went away. The first debug line in the console says "not initialized" and then you get the IsMatrixValid error. Changing the Start order for the VR SDKS in Player settings solves this for me. So OpenVR first, Oculus second.