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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Generate outline toggle is inactive in the Sprite Editor when only one sprite is selected
- The MustDisposeResource attribute is missing when using the Unity JetBrains.Annotations library subset
- [iOS] Error "RenderPass: Attachment 0 was created with 4 samples but 1 samples were requested. " is thrown when using UIToolkit and URP RenderGraph on iOS device
- The "INSTANCING_ON" shader variant is getting stripped when building the AssetBundle with the shader variant collection and the Instancing Variants set to Strip Unused
- [iOS] Building a project for iOS with 'Launch Screen' set to 'Custom Storyboard' fails if only iPhone storyboard was setup
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-39802