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
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Shader warnings are being thrown after building Mixed Reality Template
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.