Search Issue Tracker
Fixed in 2022.3.10f1
Fixed in 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
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
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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
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.