Search Issue Tracker

Fixed in Unity 2019.1

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

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

[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

All about bugs

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