Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0b2
2019.3.0b3
2020.1.0a1
Issue ID
1185555
Regression
No
NullReferenceException is thrown when setting SerializedProperty.managedReferenceValue to null
How to reproduce:
1. Open the "TestCase" in the user attached project
2. In the "Test" GameObject Inspector Window, click on "Set referenceTest to object"
3. Click on "Set referenceTest to null"
Expected results: A reference is set to null successfully
Actual results: NullReferenceException is thrown
Reproducible with: 2019.3.0b2, 2019.3.0b5, 2020.1.0a6
Additional note: Project on Unity versions 2019.3.0b1 and earlier could not be tested due to compilation errors related to "SerializeReference"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Console throws warnings and a MissingReferenceException error for XR packages when doing a clean project import
- [Linux][IL2CPP] Dedicated server crashes when calling Socket.Send
- [2D URP] Documentation link on 3D Renderer Data doesn't work
- Depth is not rendered in a depth-only camera which is set up by a custom script
- The Scene\Game view is grey when two "Universal Additional Camera Data" scripts are attached to the camera
Add comment