Search Issue Tracker

Fixed in 2021.1

Fixed in 2019.4, 2020.1, 2020.2

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. Response avatar

    Resolution Note (fix version 2021.1):

    This is now fixed in 2021.1.0a5

  2. Response avatar

    Resolution Note (fix version 2020.2):

    This now fixed in 2020.2.0b12

  3. Response avatar

    Resolution Note (fix version 2020.1):

    This now fixed in 2020.1.17f1

  4. Response avatar

    Resolution Note (fix version 2019.4):

    Fixed in 2019.4.17f1

Comments (12)

  1. 033f000d93ff79cfc087cb426af64887?d=mm

    unity_eTGLIsisfOJujQ

    May 13, 2020 18:47

    Please fix!

  2. 125a95aea3e48a515a813989f0879c25?d=mm

    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.