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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Add comment