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
0
Question by Darklink999999 · May 30, 2017 at 05:35 PM · runtime-error

Random Invalid AABB inAABB error

Ok, so I don't know if this is exactly a question or if submit it as an issue but here's the problem:

I have an application where you input text in a textfield and the sign language gesture of this word plays as an animation of a 3D model in the scene. At completely random times an "Invalid AABB inAABB" error appears and after that the input doesn't work anymore at all. All buttons/ textfields/text etc. are correctly scaled (all 1,1,1), font is the Unity default (Arial) and the problem appears to be much more profound in slower PCs. Is this maybe an Event System issue? A problem with the Animator? The exact problem is:

 Invalid AABB inAABB
 UnityEngine.Canvas.SendWillRenderCanvases ()

EDIT:

Ok, so I had forgotten an

   !isIdle 

flag and now at least the input works but the

 Invalid AABB inAABB
 UnityEngine.Canvas.SendWillRenderCanvases  

problem remains at completely random times. I've checked all the menu elements at runtime and in the editor. It's just random. If anyone has any idea why this might happen please help. Thanks! :D

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

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by IgorAherne · Jun 01, 2017 at 01:22 AM

Somewhere you have a script which divided by zero, then tried to assign NaN as a position to one of your transforms.

Try looking at transforms to see which one has positions as NaN, and determine which script influenced it

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 Darklink999999 · Jun 01, 2017 at 07:49 AM 0
Share

Ok, this only applies to GUI elements (Axis Aligned Bounding Box) for a 3D scene right? I've checked all the Pos X, Pos Y, Pos, Z, Width, Height, Anchors, Pivot, Rotation and Scale attributes in all my GUI elements and none is NaN or negative (in the case of Scale -> All scales are (1,1,1) so I can use fonts in a proper way).Pos Z is zero in all GUI elements but the rendering mode of the Canvas is "Screen Space - Overlay" (if this could cause a problem).

Also, there is no script manipulation of the GUI elements' appearance attributes whatsoever except from using the Listener functions (defined in the Editor - not by scripting) for buttons and InputFields. In fact, the only scripting I've done is get the text from a "Search" Inputfield and just divide it into tokens, so I can use each word of the text separately and I also have "Play", "Pause", "Stop", "FB", "FF" and an animation Speed InputField so I can manipulate the playback of an animation. The whole scene can be seen in the image below (the character model doesn't move at all although the camera rotates around some position on the Y-Axis (0, y, 0)).

alt text

As a sidenote I would like to say that I haven't even moved the GUI elements. I only moved them using the Anchors and Pivot attributes so I wouldn't have scaling problems in different resolutions.

Thanks for the help! :D

help.jpg (492.0 kB)
avatar image fashrista · Jan 28, 2019 at 08:35 AM 0
Share

@ sDarklinkk have you found the solution for this? I have had a problem with scaleing at different resolutions and aspect ratios on Android, and when doing the anchor/scaleWScreenSize/rectTransform voodoo I somehow caused this error to apear.

avatar image
0

Answer by manu6366 · Sep 09, 2021 at 03:51 PM

I also facing this issue and the issue was in my ui image's local scale. So solved it by changing from localscale to fill amount for progress bars..

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

6 People are following this question.

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

Related Questions

Reading Xml files, InvalidCastException 0 Answers

When go.SetActive(false) is used, permanently sets GO to inactive??? 0 Answers

Microsoft Visual C++ Runtime Error 0 Answers

Start FPS player off with no weapon 2 Answers

RunTime Error in Unity when I'm using a function from a C++ Dll 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