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. 0ecce5ee28c57b2e3d33720491bd249d?d=mm

    oscarAbraham

    Nov 27, 2020 03:47

    I'm trying this in 2020.2.0b12.3574. Instances are still recreated when modifying anything in the inspector and then doing ctrl+z. Is this because of the Unity version I'm trying? I wonder what's the proper protocol when the issue is marked as fixed, but it's not completely solved. If this is already supposed to work in the version I tried, I'll submit a bug report with a project and see what happens.

  2. 961fb8d14c4a58fff1400f049e2902df?d=mm

    Silly_Rollo

    Nov 07, 2020 01:05

    Still no 2020.1 fix?

  3. 982f875ae9a360eda0e3c06c270b3525?d=mm

    YenMoc

    Oct 08, 2020 02:08

    Please fix this soon, 2020.1.8 has been released and it's still here :((

  4. 77c93f8de558bd9b1ca4442fc3db0991?d=mm

    kyuskoj

    Jul 29, 2020 17:34

    When will it be backported to 2019.4?

  5. E1d5009c5868810cb6f2de0fa9d846cb?d=mm

    Elringus

    Jul 16, 2020 08:24

    Thanks for confirming the 2019.4 support! Any ETA when it will be ported? It's been "Fix in review for 2019.4" for almost 2 months already.

  6. E1d5009c5868810cb6f2de0fa9d846cb?d=mm

    Elringus

    May 28, 2020 18:25

    Why it's no longer planned to be fixed in 2019.3/2019.4 and been removed from the known issues list in 2019.3.15 changelog today? I was really hopping it'll be fixed in 2019...

  7. 571d9f886dc5f62742f670013df5f76f?d=mm

    Beru

    May 21, 2020 11:04

    Fix it, please!!!!!

  8. E245e2e58dfdfc3e9a2c2ce9259180bf?d=mm

    MikBo

    May 14, 2020 15:09

    Fix this.

  9. 93c5083c8e848af3167f5f6166416046?d=mm

    PanthenEye

    May 14, 2020 14:25

    Waiting for the fix.

  10. 06ee5e5eb7b786f6b4dcc73cb14f4d14?d=mm

    johnowhetton

    May 13, 2020 21:21

    Please fix this issue, thank you

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.