Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0xb3
Issue ID
866231
Regression
Yes
Compute shader fails to open indirectly included shader files
If a shader is included from another shader which references it, the compute shader fails to open it.
Steps to reproduce:
1) Open the attached project.
Errors pop up in the console:
Shader error in 'NewComputeShader.compute': failed to open source file: 'Inc3.hlsl' (on metal)
Shader error in 'NewComputeShader.compute': failed to open source file: 'Inc3.hlsl' (on glcore)
The project consists of 3 shaders - a simple shader "Inc3.hlsl", "Inc2.hlsl", which includes it and "Inc1.hlsl", which includes "Inc2.hlsl". "Inc3.hlsl" cannot be opened by compute shader, because it is included indirectly.
Reproduced on:
5.6.0b4, 5.6.0a1
Did not reproduce:
5.5.0p4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Add comment