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
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
Add comment