Search Issue Tracker

Fixed in 2019.1

Fixed in 2018.3

Votes

0

Found in

2018.2.0b9

Issue ID

1068117

Regression

No

[2D][SpriteShape] Error message shown when SVG is added to SpriteShapeProfile, crashes when Spriteshape is added to Scene

2D

-

[2D][SpriteShape] Error message shown when SVG is added to SpriteShapeProfile, crashes when Spriteshape is added to Scene

How we can reproduce it using the example you attached

1. Open Attached Project (Both SVG and Spriteshape Preview package is used)
2. Create a new spriteshape and add any SVG Sprite to SpriteShapeProfile
3. Note that the Editor throws an Error.

Error message shown when SVG is added to spriteshape:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.U2D.EditorSpriteGUIUtility.DrawSpriteInRectPrepare

NOTE:
Unity Crashes once SpriteShape is added to Scene

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.