Search Issue Tracker

Won't Fix

Votes

0

Found in

5.5.0f3

Issue ID

872458

Regression

No

Shader relative include paths do not work

Shaders

-

To reproducible:

1. Open the project
2. Right-click on C/NewSurfaceShader and select Reimport

Actual: Error in console appears: "Shader error in 'Custom/NewSurfaceShader': Can't open include file "B/B.cginc" at Assets/A/A.cginc(2) (on d3d9)"
Expected: Relative include paths to work, and no error message

Reproducible: 5.6.0b5, 5.5.1f1, 5.4.4p1, 5.3.7p3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.