Search Issue Tracker

Active

Planned for 2019.4, 2020.1

Votes

0

Found in

2019.3.0a1

2019.3.12f1

2019.4

2020.1

2020.2

Issue ID

1257558

Regression

Yes

Editor crashes when applying changes to custom ScriptedImporter asset

Scripting

-

How to reproduce:
1. Open the attached project (1257558.zip)
2. In the Project window open the "SpriteAnimationImporter.cs" script in any script editor
3. Delete line 14 so the script would recompile
4. Return to the Editor
5. In the Project window select the "V00" asset
6. In the Inspector set the "Pixels Per Unit" value to 25 and press "Apply"

Reproducible with: 2019.3.0a1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Not reproducible with: 2018.4.24f1, 2019.2.0a14, 2019.2.21f1

Notes:
1. Tested on Ubuntu 18.04 and Windows 10
2. Only crashes when the object added through the "AddObjectToAsset" method in "OnImportAsset" SpriteAnimationImporter script derives from "ScriptableObject"

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.