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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
This is a duplicate of issue #1245149