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
- Search field overlaps when minimising docked Search window
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
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.