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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.