Search Issue Tracker

Fixed in 5.3.7

Votes

11

Found in

5.2.1p2

Issue ID

732717

Regression

No

FormerlySerializedAs does not work when used on modified prefab properties

Assets Management

-

Steps to reproduce:

1. Open attached project
2. Opn 'Main' scene
3. Inspect the 'Mission' prefab instance in the Hierarchy
4. Notice the 'Mission Duration' value is overriding the prefab value and set to 300
5. Open 'Mission.cs' script
6. Comment out the declaration of "MissionDuration"
7. Uncomment the declaration of "missionDuration"
8. Go back to Unity
9. Inspect the 'Mission' instance in the scene, notice the "Mission Duration" field is no longer using bold text, indicating it is no longer overriding the prefab value (though it does show the correct value of 300 because that's what's currently in memory)
10. Reopen the scene (doesn't matter if you save or not)
11. Inspect the 'Mission' instance in the scene
12. Notice the "Mission Duration" field has been reset back to the prefab value of 240 and is no longer marked as overriding the prefab

Note: Same behaviour on simple objects (not prefab instances) works as expected.

Comments (4)

  1. 4d0d1358dc002428e5e008366294638c?d=mm

    jacqueliamst

    Oct 15, 2019 20:09

    To find the finest digital marketing and advertising agency, initial, we must understand "what will be digital marketing", "will electronic digital marketing gain your business" and also answer the particular question "how should i get a lot more leads regarding my enterprise? " : which medicine purpose regarding any marketing and advertising.
    http://512Review.com

  2. 4d0d1358dc002428e5e008366294638c?d=mm

    jacqueliamst

    Oct 15, 2019 20:09

    The biggest thing in the particular digital marketing it is extremely easy to be able to adapt and connect to the market worldwide. You can find multiple chapters beneath digital marketing and advertising category which can be coming together with different web template modules. A handful of prime web template modules details are already briefly offered below for your reference.
    http://amplifytexas.com

  3. E6a7b77eca37855c736c62d938515b5a?d=mm

    huulong

    Oct 25, 2016 11:42

    Found in 5.4.0p1 too. I'll try to create a minimum example from scratch and send a regression report.

  4. Abec14ad59a61e79de60fa378773e964?d=mm

    Robert-Acksel

    Mar 29, 2016 20:53

    found in 5.4.b10 too

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.