Search Issue Tracker

Duplicate

Votes

11

Found in

2018.3.0b7

2019.1.0a6

2019.2.0a1

2019.2.4f1

2019.3.0a1

2020.1.0a1

Issue ID

1183879

Regression

Yes

Prefab instance changes are reverted when FormerlySerializedAs is applied in a class in a nondefault Namespace

Scene Management

-

How to reproduce:
1. Download and open the attached project "1183879.zip"
2. Inspect TestField values set to PrefabNamespace Asset and instance in the scene
3. Open Player settings window (Edit -> Project Settings -> Player)
4. Add scripting define symbol "FORMERLY_SERIALIZED_AS" in Player window
5. Reimport the PrefabNamespace Asset
6. Inspect the PrefabNamespace instance

Expected result: Prefab instances TestField value remains as set
Actual result: Prefab instances TestField value reverts to a value set in Prefab Asset

Reproducible with: 2018.3.0b7, 2018.4.10f1, 2019.1.0a6, 2019.1.14f1, 2019.2.7f2, 2019.3.0b4, 2020.1.0a5
Not reproducible with: 2017.4.32f1, 2018.3.0b6, 2019.1.0a5

Notes:
The issue is reproducible with Prefab Variants as well.

Comments (2)

  1. Bastienre4

    Jan 08, 2020 16:41

    This is a big issue for us too.

  2. nuverian

    Jan 07, 2020 18:30

    This is really important and just stumbled on this. I do hope it gets fixed soon.

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.