Search Issue Tracker
Fixed
Fixed in 2022.3.57f1, 6000.0.36f1, 6000.1.0b3, 7000.0.0a18
Votes
1
Found in
2022.3.55f1
6000.0.33f1
6000.1.0a9
7000.0.0a17
Issue ID
UUM-91646
Regression
Yes
Disabled Shadow Variants are removed from the Player when 'Strip Unused Variants" is disabled and no URP Asset with Disabled Shadows is in Build
Reproduction steps:
1. Open the attached “IN-91325.zip” project
2. Open the “SampleScene”
3. Build and Run the project (File > Build and Run)
4. In the Player, press the ‘Shadows Enabled’ button
5. Observe the Development Console and the Player
Expected result: No errors and the Scene is not pink
Actual result: The Scene turns pink and Shader errors are logged
Reproducible with: 2022.3.3f1, 2022.3.55f1, 6000.0.33f1, 6000.1.0a9
Not reproducible with: 2021.3.47f1, 2022.3.2f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Full errors: “Shader Universal Render Pipeline/Lit, subshader 0, pass 0, stage vertex: variant _ADDITIONAL_LIGHTS not found.”, “Shader Universal Render Pipeline/Lit, subshader 0, pass 0, stage pixel: variant _ADDITIONAL_LIGHTS _ADDITIONAL_LIGHT_SHADOWS _REFLECTION_PROBE_BLENDING _REFLECTION_PROBE_BOX_PROJECTION not found.”
- Relevant Discussions link: [https://discussions.unity.com/t/shader-stripping-improvements-in-urp/861031/26|https://discussions.unity.com/t/shader-stripping-improvements-in-urp/861031/26|smart-link]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Toolkit meshes are fully rendered and rasterized when opacity is 0
- Light rendering artefacts appear in the Editor when assigning unsupported 3D Custom Render Texture in Camera’s Output Texture, unclearable errors and warnings spammed
- Memory leak when running a test with "GfxThreadingMode" set to "SplitJobs"
- Loading Unloaded unsaved Scene throws “ArgumentException” error in the Console
- Crash on std::__1::__tree_const_iterator when opening the Build Profiles window in a specific project
Add comment