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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
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