Search Issue Tracker

Fixed in 2022.1.X



Found in


Issue ID




[Humanoid][Avatar] AvatarBuilder.BuildHumanAvatar sets NaN positions with some avatars



1. Open user's attached project ("")
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).

the issue does not appear with "Sacha" game object.

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.