Search Issue Tracker

By Design

Fixed in 7.4.0, 8.1.0

Votes

0

Found in [Package]

6.7.1

Issue ID

1157420

Regression

No

[UniversalRP] SRP switching doesn't work even with manually adding ShaderVariants per scene

Package: Scriptable Render Pipeline Lightweight

-

To reproduce:
1. Open the attached project;
2. Build & Run;
3. Press Space to switch scenes;
4. See the difference between Editor behaviour (one scene has Directional light shadows, the other scene has Point light shadows) and Player behaviour (no shadows at all).

Expected result: the needed Shader Variants are included to run LWRP PipelineAssets.
Actual result: only the SRP Asset that is used at Build is actually used for Shader Stripping, all others are not working properly in a build.

  1. Resolution Note:

    In order for the render pipelines to be taken into consideration the render pipelines need to be in the quality or graphics settings since they are the only render pipelines which is checked when stripping variants.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.