Search Issue Tracker

Active

Votes

16

Found in

2021.2.16f1

2021.3

Issue ID

1423458

Regression

Yes

Shader compiler crash when compiling compute shaders in -nographics mode

Shader System

-

How to reproduce:
1. Open the user attached project
2. Open the project destination folder
3. In the BuildNoGraphics.bat add the Editor.exe folder destination
4. Add a project path by typing: -projectPath "project folder destination"
5. Run the BuildNoGraphics.bat

Reproducible with: 2021.2.16f1, 2021.2.19f1, 2021.3.3f1
Not reproducible with: 2019.4.39f1, 2020.3.34f1, 2021.2.15f1
Could not test with: 2022.1.2f1, 2022.2.0a15 (too much difference between URP versions for the repro project to be compatible)

First lines of stack trace:
Cmd: compileComputeKernel

insize=5861 file=Packages/com.klang-games.seed-rendering/Shaders/Vegetation/SeedVegetationScattering.compute kernel=SeedVegetationScattering cachingPP=1 ppOnly=0 stripLineD=0 buildPlatform=19 km=<UNITY_VERSION=202129> pKW=UNITY_ENABLE_REFLECTION_BUFFERS 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_LIGHTMAP_RGBM_ENCODING uKW=SHADER_STAGE_COMPUTE platform= flags=0 reqs=16385 forceDXC=0 forceFXC=03221225477

Crashed!

0x00007ff79b10b02a (UnityShaderCompiler)
0x00007ffe64beff27 (KERNELBASE) UnhandledExceptionFilter
0x00007ffe673751b0 (ntdll) memset
0x00007ffe6735c766 (ntdll) _C_specific_handler
0x00007ffe6737209f (ntdll) _chkstk

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.