Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Infinity or NaN floating point numbers appear when calculating matrix for a Collider with bug render

Discussion in 'Physics' started by pawel281, Apr 17, 2024.

  1. pawel281

    pawel281

    Joined:
    Aug 28, 2018
    Posts:
    2
    A couple days ago we had a problem in a project with lights flashing or the game going black and white. This happens only in the build.
    After a lot of attempts and tests we found one interesting thing: Only in build with debug mod there is an error " Infinity or Non floating point numbers appear when calculating transform matrix for a Collider". And as soon as it occurs strange things start to happen to the picture. Flashing, lights out, etc.
    It is definitely related to this, as there was a test with deleting this child object with a collider.
    The project uses an NGO. And the collider that the game complains about is in the child object of the enemy .
    This object is not modified in any way, it is not scaled locally, it is just enabled and has a collider and the error points exactly to it. There was an attempt to remove this object and hang the collider directly on the enemy. This did not help.
    It does not appear immediately, but after about 5 minutes.
     

    Attached Files:

    Wneee likes this.