Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2019.3.0a5
Issue ID
1158081
Regression
Yes
Targets are null in custom editors during OnDisable when deleting an asset in adb2
How to reproduce:
- Select or create a new Asset of type NewScriptableObject in the project.
- Delete the asset from the project browser view.
Expected result: the asset is destroyed and not error shows up in the console.
Actual Result: Null Reference Exception is thrown by the custom editor.
This is only a bug reproducible with adb2, everything is working fine in v1.
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Resolution Note (fix version 2021.1):
Fixed from 2021.1.0a1.495 and latest
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b10