Virtual shader source path error on 4.21.2 and 4.22.0

Hello, folks!

I saved custom HLSL functions at the external .usf file and put it in the Shaders folder which located in the project folder to use in custom node in UE4 material editor.

As you know, I could use that .usf file with #include command in material editor and it worked well on 4.19, but it does not work anymore on 4.21 and newer version. I recieved compile error when I tried to compile materials and I attach that message.

If I need to do somethin to use a custom .usf file on after 4.19, please give me a guide such as a console command or something else. I also remain the link of the test project below, feel free to point out my mistakes. Thanks.

https://drive.google.com/open?id=1nH4PUPZ9GhQzXwp4jUS_PfVWOF-n2tcO

I had the same problem, but the following step solved it.
https://forums.unrealengine.com/development-discussion/rendering/1562454-virtual-shader-source-path-link-custom-shaders-4-21

I’m not sure why Epic removed “Shaders” folder from the directory mapping “Project”…

Thanks a lot Kakushi_52.

The link can be a solution but I want to find another way to solve this problem without Visual studio. Or maybe, it is time to admit that I should start to learn programming.

But anyway, thank you very much to give me an answer.