Search Issue Tracker

Won't Fix

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

32

Found in

2019.4.14f1

2020.3

2021.1

2021.2

Issue ID

1328724

Regression

Yes

Prefab script field reference is lost when project is upgraded

Asset Import Pipeline

-

Reproduction steps:
1. Open the project ("1328724Repro.zip") in not reproducible version
2. Open "backgroundEnvironment" prefab
3. Select "airplane_pivot" Game object and open the Inspector window
4. Inspect Airplane GO script field
5. Close the project and open it in a reproducible version
6. Repeat steps 2-4

Expected result: Airplane GO remained the same
Actual result: Airplane GO script field reference is lost

Reproducible with: 2019.4.14f1, 2019.4.24f1, 2020.3.4f1, 2021.1.3f1, 2021.2.0a13
Not reproducible with: 2019.4.13f1
Could not test with: 2018.4.33f1 (script errors)

  1. Response avatar

    Resolution Note (2021.2.X):

    The supplied bug has an asset which we believe has been upgraded from 2019.3 to 2019.4, before being re-opened in 2019.3. At Unity, we don’t officially support the downgrading of assets between versions (though it may work on occasion).

    If you have this issue without bringing assets from later Unity versions, I would suggest filing a bug with your project. We’d be happy to look into it!

Comments (10)

  1. C1e0a71257547c09c5cf65b65a2e842b?d=mm

    Ward101

    Jul 12, 2021 17:50

    Disregard my previous comment.
    Alternate workaround does not work for whole prefabs. Some prefabs still had missing links.
    Use the prefab reimport workaround!

  2. C1e0a71257547c09c5cf65b65a2e842b?d=mm

    Ward101

    Jul 12, 2021 17:41

    Found another workaround (at least, worked for me, after migrating from 2019.4.22 to 2019.4.28)

    * Opened the project on 2019.4.28 and found the missing links
    * Downgraded to 2019.4.22 (just opened on that version)
    * Checked that links were still there
    * Reopened on 2019.4.28
    * Links were fixed

  3. 02b4c8111ba060f87944251c6a6c21e2?d=mm

    Firemaw

    Jun 20, 2021 04:00

    This occurred for me on some prefabs upgrading from 2019.4.15 to 2019.4.26. Thanks to GCCOOPER comment to reimport all prefabs it fixed it. Thanks to archive patch notes I was able to find this bug.

  4. C4b2ed48debb38bc90ad1f4821a12527?d=mm

    MarcoSoldati

    Jun 02, 2021 13:21

    Just lost two hours upgrading my project until I found the workaround by
    (GCCooper May 19, 2021 22:26). Can't you just automate this process in the upgrade scripts?

  5. 174e75688c4521dcae38a29ec18de078?d=mm

    noethis

    May 26, 2021 18:12

    Also affected by this issue. Can't upgrade with it breaking all my prefabs, and I also haven't done the "downgrade thing" purported to cause the issue.

  6. 3ae66188b7f6e4354884def916fd7629?d=mm

    GCCooper

    May 19, 2021 22:26

    Still getting this on 2020.3.8f1 "LTS", which implies long-term support. Best workaround I have found is searching the project window for all prefabs (via the type search button), select all, right click, hit Reimport. Note, Reimport All does _not_ work!

  7. 2614a132ebe47f793f90adc31db9197f?d=mm

    Menion-Leah

    May 10, 2021 09:34

    4 out of 4 projects are having issues when upgrading from 2019.4.21f1 to 2019.4.24f1+.
    None has anything to do with 2019.3 or whatever downgrade.

    The only (partially) workaround so far is deleting the entire Library folder and letting Unity to rebuild it again.

    This "Won't fix" is simply unbelievable, on a bug impacting so many projects since several weeks.
    Again, speechless.

  8. Ddf802dc5c237baf0f9976cd028fd181?d=mm

    saintiron

    May 07, 2021 01:44

    Not fix!!

  9. 0abc5888f09e42c270f67bfaf199e0ad?d=mm

    theolagendijk

    May 03, 2021 11:18

    Reproducible with 2021.1.5f1 too. Would love to see this fixed.

  10. 47d9e9615b458037bf2f1847802524cc?d=mm

    Kesh

    May 02, 2021 21:21

    This essentially make upgrading impossible for any project. Should be highest priority.

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.