Search Issue Tracker
Fixed in 6000.5.0b8
Fixed in 6000.3.16f1, 6000.4.7f1, 6000.6.X
Under Consideration for 6000.5.X
Votes
0
Found in
6000.4.6f1
6000.5.0b7
6000.6.0a4
6000.6.0a5
Issue ID
UUM-140566
Regression
No
RenderSpriteToTexture2D required shaders get stripped when building player, with no way to include them
Steps to reproduce:
- Make a script that uses `RenderSpriteToTexture2D`
- Build player
Actual results: The `RenderSpriteToTexture2D` call fails and output a missing shader warning. This is because the builtin shaders to render the sprite are builtin and gets stripped from the player. The shaders under "Packages/com.unity.vectorgraphics/Runtime/Shaders" are ignored.
Expected results: The user is able to add the required shader in the "always included" section of the project properties.
Reproducible with versions: 6000.3 6000.4 6000.5 6000.6
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes:
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
- Some post-processing volume overrides only update after a refresh when using HDRP
- Video Player glitches when Skip On Drop is enabled
- GameObject movement in Scene view becomes stuttery and intermittently freezes when using non-standard pointers across editor tabs or window boundaries
- Addressables.CheckForCatalogUpdates() always returns 0 when "Only update catalogs manually" is enabled
- VFX Graph forces a lengthy recompilation freeze when exiting Play Mode with a cloned Render Pipeline asset
Resolution Note (fix version 6000.5.0b8):
Fixed in 6000.5.0b8
Resolution Note (fix version 6000.6):
Fixed in 6000.5.0b8
Resolution Note (fix version 6000.4.7f1):
Fixed in 6000.4.7f1
Resolution Note (fix version 6000.3.16f1):
Fixed in 6000.3.16f1