Search Issue Tracker
Fixed
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-1820