Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
2021.1
2021.1.0a9
Issue ID
1298200
Regression
No
Prefab's thumbnail isn't updated when shader is modified
How to reproduce it:
1. Open attached project '1298200.zip'
2. Open the 'Presents' > 'Prefabs' folder in the Project view
3. Select the 'present_01' Prefab
4. In the Inspector view, change Shader drop-down menu's value to 'Standard'
5. Click on the Inspector view's preview and observe it
6. Observe the 'present_01' Prefab's thumbnail in the Project view
Expected result: In the Project view, Prefab's thumbnail is automatically updated and displays Prefab with pink material
Actual result: In the Project view, the Prefab's thumbnail isn't updated, and the Prefab's material remains unchanged
Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.2.1f1, 2021.1.0b1
Workaround:
- Right-click on the Project view and click 'Reimport All'
- In 2020.1.17f1 and lower versions, it is not necessary to reimport the whole project. It is enough to reimport selected Prefabs
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2020.2):
So this is change in behavior!
When user changes the Material - that is in-memory change and it is not written to disc immediately. To write changes to disc user have to press menu File->Save Project (was always like that).
Previously to get an updated preview it was enough to "Reimport" the asset, but that was a bug. The new behavior is that user changes the Material, then press menu File->Save Project and at this point gets updated preview for the Prefab using that Material.