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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment