Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
4.2.4, 4.2.2, 3.2.2
Issue ID
1250982
Regression
Yes
[2D] Null reference on selecting sprite sub component when Geometry and Weight are applied on it in Skinning Editor
When Geometry and Weights are applied to the sprite in Skinning editor and sprite subcomponent is selected in the project window then editor throws NullReffrenceException
Steps to Reproduce:
1. Create a New Project with 2D Template
2. Import .PSB file in the project.
3. Window > 2D > Sprite editor.
4. Project > Fei_Cel_group.PSB .
5. Sprite Editor > Skinning Editor > Create Bone > Auto Geometry > Genrate for all visible > Apply
6. Project > PSB file > Select some child sprite
Actual Result:
Null reference on selecting sprite sub-component when Geometry and Weight are applied on it in Skking Editor
Expected Result:
Sprite subcomponents are selected without errors after applying geometry and weights
Reproducible on:
2020.2.0a13, 2020.2.0a9, 2020.1.0b11, 2020.1.0b8, 2019.3.15f1, 2019.3.14f1
Working fine on:
2020.2.0a8, 2020.1.0b7, 2019.3.13f1
Package Found version:
4.2.4, 4.2.2, 3.2.2
Package Found version:
4.2.1, 3.2.1
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.U2D.Animation.SpriteSkinEditor.OnInspectorGUI () (at library/packagecache/com.unity.2d.animation@4.2.2/editor/spriteskin/spriteskineditor.cs:129)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:535)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
Environment:
Windows 10 and macOS 10.15
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
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
This is a duplicate of issue #1245149