• 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 /
  • Help Room /
avatar image
4
Question by Srimasis · Dec 19, 2015 at 09:11 AM · erroraabb-isvalid

Instantiating prefab gives isfinite error

My project was running good in unity 5.2 . But after upgrading to 5.3.1 whenever I instantiate a prefab it throws me 'aabb' 'isfinite' errors which I had never seen before. Please help..alt text

error.jpg (94.0 kB)
Comment
Add comment · Show 5
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 Srimasis · Dec 19, 2015 at 09:14 AM 0
Share

And it reduces game performance to snail speed

avatar image gabe87hun · Dec 19, 2015 at 12:17 PM 0
Share

I have the same issue. It occurs with the standard assets/vehicles "car" prefab. It looks like it runs nicely, but the console is spammed, and I also see some performance decrease. I can reproduce this with an empty project also, containing only a terrain and the car.

avatar image Srimasis · Dec 19, 2015 at 01:41 PM 0
Share

I guess its a serious unity bug and the problem doesn't occur when I build my game and run it. However problem still persists when running the game through unity editor.

avatar image troien · Dec 19, 2015 at 02:58 PM 0
Share

I have had similar problems before. For me it happened when 'something' had any of it's transform values in the inspector set to infinity or NaN. And for me replacing that thing with a new (identical) one while destroying the old fixed it for me... I believe it was a prefab that had a corrupted scale value, but not sure... Has been a while :p

avatar image _dns_ · Dec 19, 2015 at 04:51 PM 0
Share

Hi, I had this kind of error due to a LineRenderer component: it was half initialized by calling SetVertexCount but no real values were set for those vertices. Then, unity was giving some random float values for the vertices (maybe some uninitialized buffers on C++ size) and it was causing this ".IsFinite()" errors. I properly initialized vertices positions and it fixed the problem.

I guess somewhere in the renderer or physics engine there are AABB (axis aligned bounding boxed) that are computed and it can sometimes fail if the float/vectors values are wrong.

I would check everything that could have a wrong bounding box: procedural mesh, sprites etc... Anything that has a renderer component or some physics volumes. $$anonymous$$aybe force a re-import of some resources to be sure everything is initialized. Also, I spotted the problem by disabling objects 1 by 1 in my scene until the error spam stopped, to narrow down to the problematic objects.

8 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by CrandellWS · Jan 03, 2016 at 12:48 PM

@Srimasis you may want to try and patch Unity see: http://unity3d.com/unity/qa/patch-releases

I needed to upgrade from 5.3.1 f 1 <-to-> 5.3.1 p 4

Once running the patched version things were fine for me.

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 Gnick Gnack · Jan 18, 2016 at 03:33 AM

this was occurring to my game and really bogging it down, i removed the explosion asset i downloaded with the tutorial and it stopped. guess i'll need a different explosion Gnick Gnack SoTATaming.com

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 Gnick Gnack · Jan 18, 2016 at 06:45 PM 0
Share

This seems to break the sound but at least it does not overload my system. Is the files corrupted? or has the updates made changes that result in the problem? is there a fix? Are they redoing the tutorial?

avatar image
0

Answer by TGKG · Jan 21, 2016 at 12:48 AM

I just upgraded from 5.2 to 5.3.1f1 and this is the first time I have seen this error message. It is also a standard asset particle effect that is causing the problem. Does anyone have a solution???

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 TGKG · Jan 21, 2016 at 01:18 AM 0
Share

Patch 5.3.1p3 fixed the problem for me !!!

avatar image CrandellWS TGKG · Jan 24, 2016 at 01:19 PM 0
Share

Better to use 5.3.1p4 see the following link for newest update --> http://unity3d.com/unity/qa/patch-releases

  • ‹
  • 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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

48 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unable to download standard assets after upgrade, computer restarts half way thru 0 Answers

ignore this 1 Answer

Unknown error 0 Answers

Only assignment, call, increment, decrement, and new object expressions can be used as a statement 0 Answers

Mac build crashes on fullscreen 0 Answers


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