Search Issue Tracker

In Progress

Fixed in 6000.1.8f1

Fix In Review for 6000.0.52f1, 6000.2.0b6, 6000.3.0a1, 7000.0.0a35

Votes

0

Found in

6000.0.49f1

6000.1.4f1

6000.2.0a2

6000.3.0a1

7000.0.0a35

Issue ID

UUM-105412

Regression

Yes

Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component

-

Reproduction steps:
1. Open the attached "repro_IN-99981" project
2. Open the "Assets/Scenes/SampleScene.unity" Scene
3. In the Hierarchy, add a "3D Object -> Plane"
4. In the Project window, select "Assets/Settings/PC_Renderer.asset"
5. In the Inspector, in the "Full Screen Pass Renderer Feature (Full Screen Pass Renderer Feature)" Component, assign the "Assets/New Shader Graph.shadergraph" material to the "Pass Material" parameter
6. Observe the crash

Reproducible with: 6000.0.6f1, 6000.0.49f1, 6000.1.4f1, 6000.2.0a2
Not reproducible with: 2022.3.62f1, 6000.0.5f1

Reproducible on: Windows 10 (22H2), Windows 11 (23H2) (user's)
Not reproducible on: macOS Sequoia 15.3 (M2 Ultra)

Notes:

* Reproducible on DirectX12
* Not reproducible on DirectX11, Vulkan, OpenGL ES 3.2, and Metal

First few lines of the stack trace:
0x00007FFA2A338860 (Unity) D3D12CommonShader::ApplyGpuProgram
0x00007FFA2A351A66 (Unity) D3D12ImmediateContext::BindShaders
0x00007FFA2A329638 (Unity) GfxDeviceD3D12Base::SetShadersThreadable
0x00007FFA2BAA0A18 (Unity) GfxDeviceWorker::RunCommand
0x00007FFA2BAAE6BC (Unity) GfxDeviceWorker::RunExt

  1. Resolution Note (fix version 7000.0.0a35):

    Fixed by making sure we don't do anything with invalid input attachment indices

  2. Resolution Note (fix version 6000.3.0a1):

    Fixed by making sure we don't do anything with invalid input attachment indices

  3. Resolution Note (fix version 6000.2.0b6):

    Fixed by making sure we don't do anything with invalid input attachment indices

  4. Resolution Note (fix version 6000.1.8f1):

    Fixed by making sure we don't do anything with invalid input attachment indices

  5. Resolution Note (fix version 6000.0.52f1):

    Fixed by making sure we don't do anything with invalid input attachment indices

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.