Copyright © 2026 Unity Technologies
Unity 6000.2 has reached its end of life and will not receive further updates.
How to reproduce:
1. Open the “Broken Compute shaders.zip“ project
2. Set up and connect to a Cache Server (Accelerator) in Edit > Preferences > Asset Pipeline
3. In the Project tab, in Shaders > CS folder, create a Compute Shader (or it can be created anywhere within the project)
4. Open the Compute Shader file in an IDE and inside the CSMain add ‘#include "foo.hlsl"’, then save the changes
5. Create externally a file named “foo.hlsl”
6. Select the Compute Shader file and observe the Inspector (error is still present)
7. Close the project
8. Delete the Library folder
9. Open the project and select the Compute Shader file
10. Observe the inspector
Expected result: No shader errors are present
Actual result: A shader error is present (“Couldn’t open include file ‘foo.hlsl’“)
Reproducible in: 6000.0.23f1, 6000.0.57f1, 6000.2.3f1, , 6000.3.0b1
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Workaround: Reimport the Compute Shader file
Notes:
Issues you vote on will appear here