Compile errors when creating folders

Then I creating c++ class in “Source//” folder it creates and compiles with no errors.

But then I’m trying to organize scripts and add script, for example, in “Source//Inventory”,

it cannot compile anymore, .cpp file failes to locate .h file

I have the exact issue ! and it’s really annyoing i can’t arrange my project files proberly and it’s a huge project!

If you really want to you can do that…

PrivateIncludePaths.Add("TestProject/Inventory");

If other modules need to access the header files in that directory use PublicIncludePaths instead of PrivateIncludePaths. In this case you only have one module so PrivateIncludePaths should be fine.

(Don’t forget to regenerate the visual studio solution files, of course.)