Search Issue Tracker

Not Reproducible

Votes

1

Found in

2017.4

2019.3.0f1

2020.1

Issue ID

1207067

Regression

No

[DX11 - AMD] Crash on AmdDxGsaFreeCompiledShader when Texture Object node is created using Amplify Shader Editor

Windows

-

Steps to reproduce:
1. Open the attached project from the provided Google Drive link
2. Open the Amplify Shader Editor Canvas (Window -> Amplify Shader Editor -> Open Canvas)
3. Right-click anywhere on the Canvas
4. Expand "Textures"
5. Left-click "Texture Object"

Reproducible with: 2017.4.36f1, 2018.4.15f1, 2019.2.18f1, 2019.3.0f5, 2020.1.0a19

Stacktrace:
0x00007FFB07FF8509 (atidxx64) AmdDxGsaFreeCompiledShader
0x00007FFB08BB2014 (atidxx64) AmdLiquidVrD3D11WrapDeviceContext

Workaround: Use DirectD3D12 or Vulkan instead of DirectD3D11

Notes:
- Reproduces only on AMD cards with newer drivers installed (Radeon Pro WX 5100 using 26.20.15002.61, Radeon RX Vega using 26.20.15003.5016 and according to the user, on Radeon R9 300)
- Reproduces only with DirectD3D11 set as current Graphics API
- Once the project crashes by following the repro steps, it will crash on trying to open it again

After testing on the same computer where the issue was reproduced initially, it didn't crash with all of these driver versions:
19.Q4.1 - 26.20.13032.13
20.Q1 - 26.20.14001.22011
20.Q1.1 - 26.20.14001.39003
20.Q1.2 - 26.20.14003.4003
20.Q2 - 26.20.14003.3001

  1. Resolution Note (2020.1.X):

    Please update to a newer driver version. If it still crashes after updating, feel free to contact us.

Comments (2)

  1. ImpossibleRobert

    Nov 06, 2023 10:12

    I just got the same issue i 2023 with 2023.1.17 with new AMD drivers and wonder what to do now. Identical stack trace.

  2. InsidiousTech

    Mar 03, 2020 18:59

    Also happens on 2019 iMac 27 (Radeon Pro 580), Windows 10 with latest Bootcamp drivers (19.30.01.33) on both D3D10 and D3D12. Vulkan works initially but crashes after a while. Not sure if this is an AMD driver or Unity problem

    Crash message:
    Compiling RayTracing program with INSTANCING_ON _SURFACE_TYPE_TRANSPARENT _BLENDMODE_ADD
    Platform defines: UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING
    Crash!!!

    Stack Trace:
    ========== OUTPUTTING STACK TRACE ==================
    0x00007FFA6A6F6DE0 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A560753 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A5621F9 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A5775E6 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A5666A0 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A5458F4 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A489334 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6AC0E4E8 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6ABF3C1B (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6ABE7EA6 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A4A316B (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6A4A2A49 (atidxx64) AmdDxGsaFreeCompiledShader
    0x00007FFA6AD6E104 (atidxx64) AmdLiquidVrD3D11WrapDeviceContext
    0x00007FFA7A247BD4 (KERNEL32) BaseThreadInitThunk
    0x00007FFA7BB4CED1 (ntdll) RtlUserThreadStart
    ========== END OF STACKTRACE ===========

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.