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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Add comment