Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.0.4f1

6000.3.9f1

6000.4.0b9

6000.5.0a8

6000.6.0a1

Issue ID

UUM-138403

Regression

No

Last Prefab changes are reverted when tests on EditMode are executed while Prefab mode is open

Test Framework

-

How to reproduce:
1. Open the attached project “IN-138155”
2. In the Project Window, open Assets → “RegularPrefab”
3. Left-click in the Hierarchy and create a new 3D Object (ex. Cube)
4. Save the changes by pressing CTRL+S (don’t close the Prefab Mode)
5. Go to the Test Runner window (it should be opened on the right, if it isn’t: Window -> General -> Test Runner)
6. In EditMode, run the tests
7. After the test, in the Project Window, open Assets → “RegularPrefab” again
8. Observe the Hierarchy

Actual result: The 3D object created in step 3 is gone (changes are reverted)
Expected result: Running tests don’t interfere with the Prefab

Reproducible with: 2023.1.0a14, 6000.0.71f1, 6000.3.12f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1

Reproducible on: Windows 11
Not reproducible on: Tahoe 26.3.1 (M1 max)

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.