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

Scripting

-

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"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.