Search Issue Tracker
Fixed
Fixed in 2021.3.6f1
Votes
0
Found in
2021.2.16f1
2021.2.19f1
2021.3.3f1
Issue ID
UUM-1227
Regression
Yes
Shader compiler crash when compiling compute shaders in -nographics mode
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)
Reproduced on: Windows 10 (Intel)
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 2021.3.6f1):
Fixed by PR: https://ono.unity3d.com/unity/unity/pull-request/144541/_/2021.3/shaders-fix-1410540-2