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
- [sw-unity-6-1] UI Toolkit Debugger's "Pick Element" functionality does not work when hovering on any Editor panel except the Game view
- [Silicon] Crash with multiple StackTraces when entering Play Mode in a project with corrupted FBX files
- Index Out Of Range exception when trying to use Rendering Layer Override in Probe Adjustment Volume without a mask defined in lighting settings
- [Android] [Vulkan] [WebCamTexture] "WebCamTexture.Play" crashes the application when the camera is started
- Huge performance overheads appear when there is a large amount of bindings in the UI Toolkit
Add comment