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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.