Search Issue Tracker
Duplicate
Votes
0
Found in
5.6.0b7
Issue ID
881128
Regression
Yes
NullReferenceException when playing humanoid animation having its avatar copied from another fbx
To reproduce:
1. Open attached project.
2. Open scene: AnimationTestScene
3. Select asset in project view: Assets/units/New Experimental/Animations/Maw_J_Laygo@dwarf_walk
4. Reimport it by unticking and ticking again "Import Animation" field and press apply.
5. Press play.
6. Leave playmode, and press play again.
After second playmode enter, an error appears everytime entering playmode:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.AnimationClipInfoProperties.MaskFromClip (UnityEngine.AvatarMask mask) (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/AnimationClipInfoProperties.cs:107)
UnityEditor.AvatarMaskInspector.set_clipInfo (UnityEditor.AnimationClipInfoProperties value) (at C:/buildslave/unity/build/Editor/Mono/Inspector/AvatarMaskInspector.cs:221)
UnityEditor.ModelImporterClipEditor.SyncClipEditor () (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/ModelImporterClipEditor.cs:214)
UnityEditor.ModelImporterClipEditor.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/ImportSettings/ModelImporterClipEditor.cs:176)
or sometimes gives different error (or both):
NullReferenceException: (null)
UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) (at C:/buildslave/unity/build/artifacts/generated/common/editor/SerializedPropertyBindings.gen.cs:87)
UnityEditor.Editor.GetSerializedObjectInternal () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:175)
UnityEditor.Editor.get_serializedObject () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:168)
UnityEditor.AvatarMaskInspector.InitializeSerializedProperties () (at C:/buildslave/unity/build/Editor/Mono/Inspector/AvatarMaskInspector.cs:265)
Reproducible on: 5.6.0b7, 5.6.0b5 (802d0eaaa43c)
Not reproducible on: 5.6.0b1 (d37b23d9dfff)
Regression introduced somewhere between 5.6.0b5 and 5.6.0b1
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 JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
This is a duplicate of issue #879846