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
- "No GUI Implemented" is displayed when using PhysicsMask with a CustomEditor
- "Report is from another project" popup warning is shown on domain reload when Project Auditor was previously ran in a different project
- Addressables Analyzer flags duplicate resource references from ScriptableObjects incorrectly when the corresponding field has been removed
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
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