Search Issue Tracker
Fixed in 6.0.0-pre.3
Votes
0
Found in [Package]
5.1.0, 5.0.1
Issue ID
1294930
Regression
No
[2D] Exception thrown continuously on creating Range in the preset of Sprite Shape when Undo/Redo operation is performed earlier
Assertion failed exception is thrown continuously on clicking the Create Range button in the Preset of Sprite Shape Profile asset when Undo/Redo operation is performed earlier, Refer attached video.
Steps to repro:
1. Create a new project with a 2D Template
2. Project window > Create > 2D > Sprite Shape Profile
3. Create a preset of Sprite Shape Profile
4. SpriteShape preset > Inspector > Reset
5. Edit > Undo Edit SpriteShape > Redo Reset SpriteShape
6. Click on the "Create Range" button
Actual Result:
Assertion failed exception is thrown continuously in the console.
Expected Result:
Angle Range is created gracefully without any exception thrown in the console.
Note: "Create Range" button is available from Package Version 5.0.1 and Unity version 2020.2.0b1
Reproducible in:
2021.1.07, 2020.2.0b13, 2020.2.0b1 with Package Version 5.1.0, 5.0.1.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stack trace:
Assertion failed
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 6.0.0-pre.3):
A fix for this issue is available on 2D Sprite Shape package 6.0.0 and above with Unity 2021.2.0a13 and above