Search Issue Tracker
Fixed
Fixed in 2022.3.10f1, 2023.1.12f1, 2023.2.0b7, 2023.3.0a3, 7000.0.0a1
Won't Fix in 2021.3.X
Votes
0
Found in
2021.3.31f1
2022.3.10f1
2023.1.2f1
2023.2.0a21
2023.3.0a2
7000.0.0a1
Issue ID
UUM-41272
Regression
No
Compute shaders using glsl reserved words fail to compile when using Vulkan Graphics API
Reproduction steps:
1. Open the attached “repro-project“
2. Open the Assets/Test.unity scene
3. Observe the errors in the Console
Reproducible with: 2023.1.2f1, 2023.2.0a21
Could not test with: 2021.3.28f1, 2022.3.4f1 (could not downgrade the project)
Reproduced on: Windows 10 Pro
Notes:
1. Not reproducible on DirectX12 Graphics API
2. The following errors are displayed in the Console:
”Shader error in 'Test': glslang: '' : compilation terminated at kernel ToTex at line 26 (on vulkan)”
”Shader error in 'Test': glslang: 'input' : Reserved word. at kernel ToTex at line 26 (on vulkan)”
”Test.compute: Kernel at index (0) is invalid
UnityEngine.ComputeShader:Dispatch (int,int,int,int)
Test:Start () (at Assets/Test.cs:24)”
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (2021.3.X):
Backporting this fix would require more time than usual, since some foundational code doesn't exist on this version. Users can work around the bug by not using words reserved in GLSL in their shaders.