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

UI Toolkit Graphics

-

Steps to reproduce:

  1. Make a script that uses `RenderSpriteToTexture2D`
  2. 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:

  1. Resolution Note (fix version 6000.5.0b8):

    Fixed in 6000.5.0b8

  2. Resolution Note (fix version 6000.6):

    Fixed in 6000.5.0b8

  3. Resolution Note (fix version 6000.4.7f1):

    Fixed in 6000.4.7f1

  4. Resolution Note (fix version 6000.3.16f1):

    Fixed in 6000.3.16f1

Add comment

Log in to post comment