Search Issue Tracker
Fixed
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a8
2020.1.0b9
2020.2.0a1
Issue ID
1249167
Regression
Yes
Custom Editor of a ScriptableObject gets destroyed when renaming a Sub Asset while the Tile Palette window is open
How to reproduce:
1. Open the attached "ImportAssetBug" project
2. Open Tile Pallete window from Window > 2D > Tile Palette
3. Select "TestAsset.asset" from the Assets folder
4. Double click on "Element 0" called "Test 5" in the Inspector window
5. Change the "Name" field value to "Test 6" and hit Enter
Expected result: the custom Editor remains open and no errors are thrown
Actual result: the custom Editor gets destroyed, reopened and a "NullReferenceException" error is thrown
Reproducible with: 2020.1.0a8, 2020.1.0b10, 2020.2.0a1, 2020.2.0a3
Not reproducible with: 2018.4.23f1, 2019.3.15f1, 2020.1.0a7, 2020.2.0a4, 2020.2.0a11
Notes:
-This reproduces with AssetDatabase.SaveAssets and AssetDatabase.ImportAsset methods in the Custom Editor Script
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
Fixed in 2020.2.0a4
Resolution Note (fix version 2020.1):
Fixed in 2020.1.4f1