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()
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
Comments (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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2021.3.10f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-1820
Resolution Note (fix version 2022.2.0b8):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-1820