Search Issue Tracker
Fixed
Fixed in 2021.3.36f1, 2022.3.20f1, 2023.2.11f1, 2023.3.0b1
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0b17
2023.3.0a13
Issue ID
UUM-56639
Regression
No
Render Features that do not directly inherit from ScriptableRendererFeature do not pass validation when ScriptableRendererData.ValidateRendererFeatures() runs
Reproduction steps:
1. Open the user-attached "InheritFromScriptableRenderFeature" project
2. Open "Assets/Settings" and left-click on "URP-HighFidelity-Renderer"
3. Observe the "Lens Flare Renderer Feature" and "Lens Flare Renderer Feature Red" Renderer Features in the Inspector window
4. Right-click on the "Assets/Scripts" folder and click on "Show in Explorer"
5. Inside the "Scripts" folder, rename "LensFlareRendererFeature1.cs" and "LensFlareRendererFeatureRed.cs"
6. Focus the Unity Editor to force recompilation
7. Observe the "Lens Flare Renderer Feature" and "Lens Flare Renderer Feature Red" Renderer Features in the Inspector window
8. Right-click on the "Assets/Scripts" folder and click on "Show in Explorer"
9. Inside the "Scripts" folder, rename the scripts changed in Step 5 back to their original names
10. Focus the Unity Editor to force recompilation
11. Observe the "Lens Flare Renderer Feature" and "Lens Flare Renderer Feature Red" Renderer Features in the Inspector window
Expected results: After changing the scripts' names back, ScriptableRendererData.ValidateRendererFeatures() validates both "Lens Flare Renderer Feature" and "Lens Flare Renderer Feature Red"
Actual results: After changing the scripts' names back, ScriptableRendererData.ValidateRendererFeatures() validates only "Lens Flare Renderer Feature" ("Lens Flare Renderer Feature" shows up normally and "Lens Flare Renderer Feature Red" shows up as "Missing RendererFeature")
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b17, 2023.3.0a14
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Note: Not reproducible when scripts are renamed through Unity Editor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Crash on System.Runtime.InteropServices.Marshal:copy_from_unmanaged_fixed when accessing shared memory
- Misaligned text in Preferences window > 2D > Animation, Asperite and Sprite Editor preferences
- Unable to Install ZivaRT Player deprecated package
- Inconsistent Label Popup UI in Package Manager
- All active Audio Sources play their Clips when the "Play On Awake" checkbox is enabled and Scene view Audio is unmuted
Add comment