Search Issue Tracker
By Design
Votes
0
Found in
2021.2
Issue ID
1338940
Regression
Yes
OnProcessShader is not called when building Development player build
Steps:
1. Open attached project
2. Make sure Development checkbox is OFF in BuildSettings
3. Make a player build
4. Observe console
-> there are messages saying "OnProcessShader..." (correct)
5. Clear console
6. Make player build again
7. Observe console
-> there are messages saying "OnProcessShader..." (correct)
8. Make sure Development checkbox is ON in BuildSettings
9. Make a player build
10. Observe console
-> there is no message saying "OnProcessShader..." (wrong)
Reproducible:
2021.2.0a18
2021.2.0a14.1979 (462ae11b66db)
2021.2.0a13.1875 (71a161db37e2)
Not reproducible:
2021.2.0a12.1768 (687b3b92c1e8)
2021.2.0a6.1011 (dc497bf8326a)
2021.1.8f1.2508 (4b480e725734)
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note:
This is expected behavior. In the new incremental build pipeline you will only get callbacks when we (re)build assets. Which means that if all assets are up to date you won't get a callback, and assets from a previous build will be used.
This applies mainly to development builds at the moment, for release builds we always rebuild assets.