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
3
Question by Graham-Dunnett · Feb 03, 2010 at 09:35 AM · erroreditorparticlesaabb-isvalid

What does !slot->GetLocalAABB().IsValid() mean?

I get the following message on my editor log:

!slot->GetLocalAABB().IsValid()
UnityEditor.EditorGUIUtility:RenderGameViewCameras(Rect, Rect, Boolean, Boolean)

This happens when I select a GameObject (it's a particle system) in the editor.

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

3 Replies

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

Answer by Graham-Dunnett · Feb 03, 2010 at 09:45 AM

This message is an assert from Unity. It is basically saying that an AABB (axis aligned bounding box) for a game object is not valid and it is meant to be valid. AABBs are used in Unity to help decide whether objects are visible in the camera - they are boxes that fully enclose the object. (Think of them as the smallest cardboard box that the object will fit into with the box aligned to the XYZ axes. Normally AABBs are managed automatically for you; Unity can look at the vertices of the game object and figure out the AABB. For dynamic objects, such as particle systems the bounding box can end up being infinitely small or infinitely large, and these situations render the AABB as invalid, which triggers the assert.

If you get this assert with particle systems you can probably ignore it - perhaps the initial positions of the particles are all at the same point in space so the AABB is infinitely small. If you get this assert with other game objects it may mean something is wrong with the vertex positions.

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 Andy Korth · May 12, 2010 at 05:23 PM 0
Share

Thank you very much for the explanation, Graham. I'm getting this error with some meshrenderers that are loading pieces of a player (showing just the boots of a generated character, for example). Thanks for your explanation, I am hoping it will help track down the issue.

It does make sense, at some point I was drawing the bounds for my objects with Gizmo DrawWireCubes, and there were a some very wacky bounds.

avatar image
0

Answer by Orion · Feb 18, 2010 at 03:01 PM

Min/Max Emission and Min/Max Energy had to be at least 1 for me to fix this one.

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 amincahcepu · May 04, 2011 at 02:23 AM

i'm experience the same problem, altough bit different, i set my particle emit range below 0, and i get some error but it doesn't effect my game anything.

i change it again to 0 and the error gone :)

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

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

No one has followed this question yet.

Related Questions

What causes error !sh->m_AABB.IsValid()? 3 Answers

Game works differently on android 1 Answer

Internal_DrawMeshNow2 Error 1 Answer

Unity 2020.2 crashes when loading my Unity 2020.1 project 0 Answers

Scene disappearing when zooming in Unity 3 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