Search Issue Tracker

Fixed

Votes

0

Found in

2022.2.20f1

2023.1.0b17

2023.2.0a15

Issue ID

UUM-35680

Regression

Yes

Reference to a prefab is lost when the "Adressables" build is completed and the contents of the prefab are modified

--

-

Reproduction steps:
1. Open the attached "repro_IN-39813.zip" project
2. In the "Assets" project folder, select the "Repro" GameObject
3. In the Inspector, notice that the "Prefab" field is set to the "ReproPrefab" GameObject
4. Open the "Addressable Groups" window ("Window" -> "Asset Management" -> "Addressables" -> "Groups")
5. In the "Addressable Groups" window select "Build" -> "New Build" -> "Default Build Script"
6. After the build is done, open the "ReproPrefab" GameObject
7. Make a change to it (i.e. delete the "CubeA" GameObject)
8. Save the changes done to the GameObject (i.e. press the "<" button in the Hierarchy window and then "Save")
9. In the "Assets" project folder, select the "Repro" GameObject
10. Observe the "Prefab" field in the Inspector

Expected result: The parameter is still set to "ReproPrefab" GameObject
Actual result: The parameter defaults to "Missing (Game Object)"

Reproduced with: 2022.2.7f1, 2022.2.20f1, 2023.1.0b17, 2023.2.0a15
Not reproduced with: 2020.3.48f1, 2021.3.25f1, 2022.2.6f1

Note: “Addressables“ package version is 1.21.10

Add comment

Log in to post comment