Search Issue Tracker

Fixed in 2021.3.10f1

Fixed in 2022.2.0b8

Votes

1

Found in

2022.2.0a9

Issue ID

UUM-1878

Regression

Yes

Prefab's thumbnail gets reverted to one without reflection when reimporting asset after initializing EditorUtility.SetDirty()

Asset - Database

-

How to reproduce:
1. Open the user's attached project "My project.zip"
2. Open the "GetPreview" window from "Tools" > "Get Preview..."
3. Drag and drop the "Sphere" prefab from the Assets folder to the Object Field
4. Press "SetDirty", observe the prefab's thumbnail
5. Press "Reimport", observe the prefab's thumbnail

Expected result: The prefab's updated thumbnail is saved after reimport
Actual result: The prefab's thumbnail gets reverted to one without reflection

Reproducible with: 2020.2.4f1, 2020.2.7f1, 2020.3.32f1, 2021.2.17f1, 2022.1.0b14, 2022.2.0a9
Not reproducible with: 2019.4.37f1
Could not test with: 2020.1.0a1, 2020.1.0a26, 2020.2.0a1, 2020.2.3f1 ("Sphere" GameObject does not reflect the skybox in Scene/Game View)

Notes:
- Also reproducible by pressing “SetDirty” and then selecting the prefab
- 2022.1 "GetPreiview" window's preview image shrinks after pressing "SetDirty"
- 2022.2 "GetPreiview" window's preview image shrinks and does not get reflection updated

  1. Resolution Note (fix version 2021.3.10f1):

  2. Resolution Note (fix version 2022.2.0b8):

Comments (1)

  1. Cerberus_team

    Apr 01, 2022 16:36

    The prefab thumbnail don't have reflection since unity 2018, setting it dirty will show the correct thumbnail until the prefab is re-imported right away. (Setting dirty is just for demonstration)

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.