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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
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