Search Issue Tracker

Active

Votes

0

Found in

2021.3.44f1

2022.3.50f1

6000.0.22f1

Issue ID

UUM-83888

Regression

No

Incorrect GUID is present when replacing a different asset with an asset that has the same name

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the FindAssets window (NMY > Find Asset By GUID)
3. Drag and drop “/Assets/PrefabTest/P1.prefab“ to the “Search by reference” field
4. Observe that the “Search by GUID“ field is updated with “8d244ec4c93416a4cbf4cbbf664ebc55“
5. In the Project window, Right-click on “/Assets/PrefabTest/P1.prefab“ and click “Show in Explorer“
6. Without allowing Unity to refresh, In Explorer, delete “P1.prefab” and “P1.prefab.meta“
7. In Explorer, rename “P2.prefab“ and “P2.prefab.meta“ to “P1.prefab” and “P1.prefab.meta“
8. Click on Editor to refresh
9. Repeat steps 3-4
10. Open “P1.prefab.meta” in IDE
11. Observe GUID in 2nd line

Expected result: The “Search by GUID“ field shows the same GUID as the META file
Actual result: The GUID shown in the “Search by GUID“ field in the Editor differs from the GUID shown in the META file

Reproducible with: 2021.3.44f1, 2022.3.50f1, 6000.0.22f1

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Issue is still reproducible after Reporting the Prefab
- Modified date of Prefab is incorrect if these assets are VCS maintained

Workarounds:
- Reimport All
- Delete Library folder

Add comment

Log in to post comment