Search Issue Tracker

Fixed in 2022.1.X

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

Votes

10

Found in

2018.4

2019.4

2019.4.6f1

2020.1

2020.2

Issue ID

1270634

Regression

No

References on Prefabs aren't automatically added when the target of the missing reference is imported

Asset - Database

-

How to reproduce:
1. Open the attached "1270634 repro" project
2. Extract files from "TheMissingFiles.zip" archive to the Assets folder of the project
3. Focus the Editor and select the "GameObject.prefab" Prefab from the Assets folder

Expected results: the "Object Custom Object" reference targets the "MyCustomObject.asset" file
Actual results: the "Object Custom Object" reference is set to "None (Custom Object)" and reimport of the Prefab is required

Reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.5f1, 2020.2.0b2

Notes:
-This scenario is most likely to occur when using Version Control
-This issue reproduces with ScriptableObject and Timeline references
-This issue doesn't seem to be reproducible with missing Sprite, Shader, Audio Mixer, Controller, Terrain Layer, Physics Material references
-When a reference witch reproduces the issue is missing, the "Object Custom Object" field displays "None (Custom Object)"
-When a reference which doesn't reproduce the issue is missing, the "Object Custom Object" field displays "Missing(Sprite)"

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a7

  2. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0b13

  3. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.25f1

  4. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.20f1

  5. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.32f1

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.