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
- Additional settings dropdown in Terrain Overlay is not grayed out for painting modes with no extra settings
- Inconsistent Terrain brush Opacity values between Scene view and Inspector
- [Usability] No separated opacity for the different types of Terrain brushes
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-1820