Search Issue Tracker
By Design
Votes
1
Found in
2022.3.17f1
2023.2.5f1
2023.3.0b2
6000.0.0b11
Issue ID
UUM-60658
Regression
No
Decal Renderer Features do not change when toggling in Player
Reproduction steps:
1. Open the attached "UrpRendererFeatureToggleTest" project
2. Build and Run
3. Press the "d" key and observe the Player
Expected results: Toggling Decal RendererFeatures in the Player changes it
Actual results: In the Player toggling the Decal RendererFeatures causes no change
Reproducible with: 2022.3.17f1, 2023.2.5f1, 2023.3.0b2
Could not test with: 2021.3.34f1 (rendererDataList is not defined)
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Notes:
- Not reproducible in Play Mode
- More about the SSAO Renderer Feature in the Internal Notes
Comments (1)
-
Peter77
Jan 28, 2024 09:57
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note:
Toggling the Decal Renderer Feature in Player fails due to Shader Variant Stripping. The shader variants used for rendering without decals enabled get stripped, since the project only has a single URP Asset, with a single Renderer, which has the Decals feature enabled.
To prevent this variant from getting stripped, you can either:
- Add another Renderer to the URP Asset, which has the feature disabled. This will prevent the shader stripper from removing the relevant variants.
- Disable "Strip Unused Variants" project setting. This isn't recommended as it will bloat the built player.
We'll treat the ability to mark a Renderer Feature as something that will be toggled at runtime as a feature request, and track it internally.