Search Issue Tracker

Duplicate

Votes

0

Found in

6000.4.0a1

Issue ID

UUM-121189

Regression

Yes

Enabling Volumetric Clouds in HDRP Environment Sample breaks Scene/Game views and spams errors in the Console window

-

Steps to reproduce:
1. Create new Unity project using empty HDRP 3D Template
2. Import Environment Samples from Package Manager (PM window > High Definition Render Pipeline > Samples > Environment Samples > Import)
3. Open Environment.unity Scene (Assets/Samples/High Definition Render Pipeline/17.3.0/Environment Samples/Environment.unity)
4. In Hierarchy window select “Environment Sample Showcase”
5. In Inspector > Samples Showcase (Script) click on “Volumetric Clouds”
6. When Project Settings window opens, enable Volumetric Clouds (HDRP > Lighting > Volumetrics > Volumetric Clouds)
7. Observe the Console window 

Actual results: Scene/Game view breaks when enabling Volumetric Clouds, errors are spammed in the Console window

Expected results: Scene/Game view should not breaks when enabling Volumetric Clouds, no errors spammed in the Console

Reproducible with versions: 6000.4.0a1 (b27b8eafe426)

Not reproducible with versions: 6000.3.0b4 (d9367c4960a7)

Tested on (OS): Windows 11, macOS Silicon, Tahoe 26.0 (M1)

Errors:

  • Render Graph Execution error

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224)

  • InvalidOperationException: In pass 'Volumetric Clouds Combine' when trying to use resource 'CameraDepthStencil PreRefraction' of type Texture at index 65 - SetRenderAttachment is called on a texture that is already used through UseTexture/SetRenderAttachment. Check your code and make sure the texture is only used once.

UnityEngine.Rendering.RenderGraphModule.RenderGraphBuilders.CheckUseFragment (UnityEngine.Rendering.RenderGraphModule.TextureHandle tex, System.Boolean isDepth) (at ./Library/PackageCache/com.unity.render-pipelines.core@942a815dc3c0/Runtime/RenderGraph/RenderGraphBuilders.cs:381)

UnityEngine.Rendering.RenderGraphModule.RenderGraphBuilders.SetRenderAttachmentDepth (UnityEngine.Rendering.RenderGraphModule.TextureHandle tex, UnityEngine.Rendering.RenderGraphModule.AccessFlags flags, System.Int32 mipLevel, System.Int32 depthSlice) (at ./Library/PackageCache/com.unity.render-pipelines.core@942a815dc3c0/Runtime/RenderGraph/RenderGraphBuilders.cs:483)

  1. Resolution Note:

    Thanks for reporting this issue, it was already noticed by the engineering team a few weeks ago and fixed accordingly.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-116156

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.