Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2019.2.13f1
Issue ID
1200354
Regression
No
[Humanoid][Avatar] AvatarBuilder.BuildHumanAvatar sets NaN positions with some avatars
Steps:
1. Open user's attached project ("DebugScaling.zip")
2. In Hierarchy, disable "Sacha" game object and enable "MorphSuit" or "FemaleAndroidBasic" game objects
3. Enter Play mode
Expected: model is visible/rendered in the scene
Actual: models in not visible/not rendered, errors in console:
-Invalid AABB aabb
-Expanding invalid MinMaxAABB
-Assertion failed on expression: 'IsFinite(d)'
and more.
In hierarchy check MorpSuit/MakeHuman default skeleton/root object. In Inspector notice that Transform/Position contains NaN values.
Reproduced with: 2019.2.13f1, 2019.3.5f1, 2020.2.0a2.
Note reproduced with: 2017.4.37f1 (due to errors in the console), 2018.4.18f1 (due to errors in the console).
Note:
the issue does not appear with "Sacha" game object.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Resolution Note (fix version 2022.1):
The problem was that when building an avatar with the API, internally we used a mask that was checking transform names. As the fbx internal name of the root was different from the gameobject's, the root was not included in the avatar map. So its direct children were without parent, and as such when trying to get their parent's transform we were reading garbage memory.