Search Issue Tracker
Fixed in 3.0.5
Votes
0
Found in [Package]
preview.2-2.1.0
Issue ID
1159767
Regression
No
[2D] [Sprite Shape] Error generated when using a default sprite for Corner sprite or Angle Range sprite in Sprite Shape Profile
[2D] [Sprite Shape] Error generated when using a default sprite for Corner sprite or Angle Range sprite in Sprite Shape Profile
Steps to Repro:
1. install Sprite Shape package
2. create a new Sprite Shape Profile
3. In either Corners or add an Angle Range sprite- select a default sprite (e.g. UISprite)
4. Observe error messages are generated in the console.
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.U2D.SpriteShapeEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.2d.spriteshape@2.1.0-preview.4/Editor/SpriteShapeEditor.cs:295)
UnityEditor.UIElements.InspectorElement+<CreateIMGUIInspectorFromEditor>c__AnonStorey1.<>m__0 () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:479)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
5. If using an Angle Range, observe the default sprite cannot be unselected and the asset must be deleted to resolve errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Add comment