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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
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.