Search Issue Tracker
Fixed
Fixed in 2022.3.59f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4, 7000.0.0a20
Votes
0
Found in
2022.3.30f1
6000.0.3f1
6000.1.0a7
6000.2.0a1
7000.0.0a1
Issue ID
UUM-72378
Regression
Yes
An added component is being removed form the prefab when reimporting the prefab
How to reproduce:
1. Open the “IN_76367”
2. In the project window select the “Test” prefab
3. In the Inspector add the “TestScript” component
4. In the Project window right-click on the “Test” prefab and press “Reimport”
5. Observe the Inspector
Expected result: “TestScript” component stays added to the “Test” prefab
Actual result: “TestScript“ component is removed from the “Test” prefab
Reproducible with: 2022.3.12f1, 2022.3.30f1, 6000.0.3f1, 6000.1.0b4
Not reproducible with: 2021.3.38f1, 2022.3.11f1
Reproducible on: macOS Sonoma 14.3.1 (M1)
Not reproducible on: Windows 10 Pro
Note: reproducible on a new project
Workarounds:
Adding component by opening the prefab:
1. Open the “Test” prefab by pressing “Open” in the inspector or double-clicking
2. Add the “TestScript” component to the prefab through the Inspector
Saving changes before reimporting the prefab:
1. Select the “Test” prefab and in the Inspector add “TestScript” component
2. Save changes made in the Inspector
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Can not reproduce on 6000.0.9f1
Changes to the prefab are immediately reflected to the asset.