Unity Issue Tracker - Keyword space mismatch error is constantly appearing in the Editor Console window when shaders contain compilation errors
Fixed
UUM-95909
Keyword space mismatch error is constantly appearing in the Editor Console window when shaders contain compilation errors
Unity: Shader System
Fixed
6.2.X
6.1.X
6.0.X
Fixed a bug triggering the error messages
Fixed a bug triggering the error messages
Fixed a bug triggering the error messages
How to reproduce:
1. Open the attached “IN-90920.zip” project
2. Open the “MeshInstancing” scene
3. Ensure Game View is in focus
4. Open “Assets/Shaders/MeshInstancing.shader”
5. Cause a compilation error by adding random text to the “Test” Shader Pass (added “asd” at line 58 in testing)
6. Notice the “Keyword Space Mismatch” errors in the Console window
Expected result: Only expected shader errors appear
Actual result: A large number of unexpected “Keyword space mismatch” errors are constantly appearing
Reproducible in: 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Could not test with: 2022.3.57 (“missing ‘RayTracingShader’ namespace” errors)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: GPU with ray tracing support is required to reproduce
Prioritise and Follow this issue
Have a workaround or additional info about this issue?