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