Search Issue Tracker

In Progress

Fix In Review for 2022.3.X

Votes

0

Found in

6000.0.0f1

Issue ID

UUM-70861

Regression

No

[HDRP][Ubuntu] Continuous NullReferenceException when enabling Decal Layers (Water Sample)

--

-

*Steps to reproduce:*
# Create a new HDRP Project.
# Go to Package Manager > High Definition RP > Samples and import Water Samples.
# Open "Glacier" scene.
# In Project Settings > Quality > HDRP enable the following:
** Water > Enable
** Decals > Layers

*Actual results:* No errors in console.

*Expected results:* Continuous NullReferenceException errors in console, detailed in Notes below. These errors increase continuously.

*Reproducible with versions:* Ubuntu - HDRP 17.0.3 (6000.0.0f1)

*Not reproducible with versions:* Windows 11, MacOS 12.7 - HDRP 17.0.3 (6000.0.0f1), Ubuntu -HDRP 17.0.2 (2023.3.0b6)

*Tested on (OS):* Ubuntu 20.04, Windows 11, MacOS 12.7

*Notes:*
* Attached mp4 of this issue.
* Regression tested on HDRP package versions, please contact ticket reporter if further testing is required.

{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.HDRP.VFXHDRPSettingsUtility.RefreshVfxErrorsIfNeeded () (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/VFXGraph/Utility/VFXHDRPSettingsUtility.cs:14)
UnityEditor.Rendering.HighDefinition.HDRenderPipelineEditor.OnInspectorGUI () (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/HDRenderPipelineEditor.cs:44)
UnityEditor.Rendering.HighDefinition.QualitySettingsPanel+QualitySettingsPanelIMGUI.OnGUI (System.String searchContext) (at ./Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/Settings/QualitySettingsPanel.cs:115)
UnityEditor.SettingsProvider.OnGUI (System.String searchContext) (at /home/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsProvider.cs:103)
UnityEditor.SettingsWindow.DrawControls () (at /home/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:483)
UnityEditor.SettingsWindow.DrawSettingsPanel () (at /home/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:454)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:429)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:718)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:583)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRenderer/UIRenderers.cs:134)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRRenderChain.cs:535)
UnityEngine.UIElements.UIRRepaintUpdater.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Renderer/UIRRepaintUpdater.cs:81)
UnityEngine.UIElements.BaseVisualElementPanel.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:799)
UnityEngine.UIElements.Panel.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1362)
UnityEditor.UIElements.EditorPanel.Render () (at /home/bokken/build/output/unity/unity/Modules/UIElementsEditor/EditorPanel.cs:115)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:482)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:230)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:76)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /home/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:30)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
{code}
 

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.