Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

IsFinite(outDistanceForSort) error in water script, since 5.3.1 patch - console spam

Discussion in 'Editor & General Support' started by Nirvan, Jan 29, 2016.

  1. Nirvan

    Nirvan

    Joined:
    Nov 16, 2013
    Posts:
    134
  2. helgarddebarros

    helgarddebarros

    Joined:
    May 10, 2014
    Posts:
    169
    I have been getting this error since 5.3.1 as well, and was also hoping for a fix with the new release. Mine doesn't say what the error is from, so I have no idea how to start addressing it.
     

    Attached Files:

    Nirvan likes this.
  3. Nirvan

    Nirvan

    Joined:
    Nov 16, 2013
    Posts:
    134
    So it's not only me :), I'm sure my error refers to water script, when I disable water objects from scene error not show up.
     
  4. Nirvan

    Nirvan

    Joined:
    Nov 16, 2013
    Posts:
    134
    When I comment line "reflectionCamera.Render();" error not occurs but water is hard blue :D
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,230
    Yeah the error is linked to the water. Its a known bug we are investigating.
     
    KEMBL and Nirvan like this.
  6. LightStriker

    LightStriker

    Joined:
    Aug 3, 2013
    Posts:
    2,717
    Could Unity - maybe, just maybe - have a policy to not put any Log call in anything that could be called every frame? Or have a special internal version that is disabled in a build?

    Those spam are killing development and deployment, and it's hardly the first one.