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
- "Canvas Renderer" Component uses a low resolution icon
- NullReferenceException is thrown when installing the "QuickStart" page in the Multiplayer center
- Package Manager's Filter Panel does not show borders when viewed on Windows
- Blend Tree Threshold fields accepts NaN/Infinity values causing Node backgrounds disappear in Animator Controller view
- Animator Controller Layer Weight field accepts “NaN” as a valid value instead of rejecting it
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