Search Issue Tracker
Fix In Review for 14.0.1
Votes
1
Found in [Package]
14.0.0
Issue ID
1392513
Regression
Yes
Errors when adding two specific post-processing overrides
Repro steps:
1. Open an HDRP project
2. Create a new Global Volume or select an existing one in the scene
3. Add a 'Lift, Gamma, Gain' post-processing effect.
4. Observe the errors:
UnityException: FindShaderByName is not allowed to be called from a ScriptableObject constructor (or instance field initializer), call it in OnEnable instead. Called from ScriptableObject 'ShadowsMidtonesHighlightsEditor'.
See "Script Serialization" page in the Unity Manual for further details.
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.VolumeComponent.FindParameters (System.Object o, System.Collections.Generic.List`1[T] parameters, System.Func`2[T,TResult] filter) (at D:/Projects/VFX/SRP - Other/com.unity.render-pipelines.core/Runtime/Volume/VolumeComponent.cs:151)
UnityEditor.Rendering.VolumeComponentEditor.InitParameters () (at D:/Projects/VFX/SRP - Other/com.unity.render-pipelines.core/Editor/Volume/VolumeComponentEditor.cs:245)
Notes:
- Affected effects: 'Lift, Gamma, Gain' and 'Shadows, Midtones, Highlights'
- Tried all other volume overrides (post processing, lighting, etc.); they add fine
- Happens in latest HDRP master, works fine in the latest public version
- Volumes which already had these overrides are rendered useless if selected as no overrides are drawn
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Add comment