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
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
- Crash on OnDemandScheduler::HandleImportWorkerLogs when performing various Unity operations
- Caret is incorrectly offset when naming a file with a lot of characters in the Project window
- Point Cache window displays incorrect title “pCache” instead of full “Point Cache”
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.