Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.1.X, 2020.2.X

Votes

63

Found in

2019.3

Issue ID

1193322

Regression

No

[SerializeReference] Polymorphic instances are always recreated when applying *any* inspector value change

Serialization

-

1) Add the Script PlayModeBug to a GameObject.

2) Enter play mode

3) Select the GameObject with the script and change the value of the toggle "A Bool".

4) Notice the string property "PropertyValue" has lost its value in the SerializeReference field.

  1. Resolution Note (fix version 2021.1):

    This is now fixed in 2021.1.0a5

  2. Resolution Note (fix version 2020.2):

    This now fixed in 2020.2.0b12

  3. Resolution Note (fix version 2020.1):

    This now fixed in 2020.1.17f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.17f1

Comments (12)

  1. unity_eTGLIsisfOJujQ

    May 13, 2020 18:47

    Please fix!

  2. realcosmik

    Mar 26, 2020 20:28

    Still occurring in unity 2019.3.1f1

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.