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
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.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.