Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

"Assertion failed" with Unity 2017.2.0b8 64 bit

Discussion in '2017.2 Beta' started by GamesMaker, Aug 28, 2017.

  1. GamesMaker

    GamesMaker

    Joined:
    Mar 3, 2014
    Posts:
    2
    So recently is started working on a project which currently is a somewhat modified version of the Space Shooter provided by Unity. Because of the security issue in the editor (remote code execution) I upgraded to Unity 2017.2.0b8 64 bit. After doing so and re-importing my assets I constantly get these errors in my console:
    1. Assertion failed: Assertion failed on expression: 'CompareApproximately(det, 1.0F, .005f)'
    2. Assertion failed: Assertion failed on expression: 'fRoot >= Vector3f::epsilon'
    3. Assertion failed: Quaternion To Matrix conversion failed because input Quaternion is invalid {-1.#IND00, -1.#IND00, -1.#IND00, -1.#IND00} l=-1.#IND00
    It is caused by this peace of code which came with the project:

    Code (CSharp):
    1. GetComponent<Rigidbody>().rotation = Quaternion.Euler (0.0f, 0.0f, GetComponent<Rigidbody>().velocity.x * -tilt);
    I described my problem further in detail here at Unity Answers http://answers.unity3d.com/questions/1396012/random-assertion-failure.html but did not get any replies. So today thank to help of a second person I found out that the errors don't occur in version 2017.1.0b9 64 bit. As I described in my Unity Answers post the errors only acure occasionally which makes me even more think that this is a bug in Unity 2017.2.0b8 64 bit. So am I missing something or is this actually a bug inside Unity? Any help is greatly appreciated.
     
  2. richardkettlewell

    richardkettlewell

    Unity Technologies

    Joined:
    Sep 9, 2015
    Posts:
    2,281
  3. GamesMaker

    GamesMaker

    Joined:
    Mar 3, 2014
    Posts:
    2
    Yes that bug report kinda sounds like my issue, cant wait for the new version which hopefully fixes the bug, thanks for your help!
     
    richardkettlewell likes this.