Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Tobias · Mar 21, 2010 at 02:19 PM · errorbugaabb-isvalid

Many !IsFinite errors

Since today, I get many

!node->m_AABB.IsValid() !ss->GetLocalAABB().IsValid() !IsFinite(outDistanceForSort) !IsFinite(outDistanceAlongView)

Errors.

How to solve them?

I get them when I click into the scene view or when starting a game

Thanks

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

8 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by qJake · Mar 22, 2010 at 05:30 AM

This is most likely a Unity bug (especially when C++ code starts appearing in the Log window like that). You should file a bug report (Help > Report a problem). Be sure to include as much detail as possible, like what you were working on and the specific error message in its entirety.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tobias · Mar 22, 2010 at 04:55 PM 0
Share

ok thanks, I was just using Javascript but ok :)

does this error slow down the game?

avatar image qJake · Mar 22, 2010 at 09:13 PM 0
Share

It depends on a lot of factors, but on average, no, it doesn't affeect game performance.

avatar image
3

Answer by naro · May 12, 2011 at 08:20 AM

In my case I found out that there was a vertex with all of it's component as {NaN, NaN, NaN} - not a value.

It was because of this:
Vector3 p = Vector3.Lerp(p0, p1, (float)i/(iters-1));

where iters happened to be 1 sometimes which makes it division by zero

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image OdinesRunes · Jan 02, 2016 at 11:03 PM 0
Share

division by zero was my issue also. Except $$anonymous$$e was within a Color.Lerp method.

fixed it by not allowing a divide by zero spriteRenderer.color = Color.Lerp ( startingColor, Color.white, (damage / ((compareStrength == 0) ? .00001f : compareStrength)) );

avatar image
0

Answer by guoyuan · Mar 24, 2014 at 07:30 AM

I know what happend,my code describe the toolbar scale,when the value is something illegal ,it will be "!IsFinite(outDistanceForSort)" ,like a/b ,the b=0;

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by FuzzyQuills · Apr 04, 2014 at 03:29 AM

Another thing i will add: if one of your animations are looping the same frame, this can cause the errors. drove me nuts for a couple of mins trying to turn it off!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Escapade · Aug 08, 2015 at 12:23 PM

Just throwing in my two cents, I had this issue when using a blender object I imported that had leftover blendshapes (Shape Keys in blender terms) from another model I converted it from. Just in case this helps anyone else!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Updating bug, script crash, cant compile script 0 Answers

Can see terrain textures from far away, but not up close? 1 Answer

Running out of memory when loading scene (worked perfectly until about an hour ago - no change to scene). 1 Answer

Stuck on splash screen android 0 Answers

UnityException: Transform child out of bounds when my AI needs to do its Move 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges