Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X

Votes

0

Found in

2022.3.30f1

6000.0.3f1

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
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

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.