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
- Unity freezes when opening a project
- [Silicon] Artifacts appear in the Game view when resizing the window/entering the Play Mode in a specific project
- Marker in the animation’s preview window doesn’t stop when reaching the end of the timeline and jumps to the start of the animation when moving it with the cursor
- Animation Event marker is not placed on the current time of the timeline when using the “Add Event” button
- Editor crashes on vector_map<ConstantString,AssetBundle when using the LoadAssetAsync function
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.