Additional Way to Solving the #include .h Files

After reaching the part of the section where the engine fails to compile after making a new C++ child there is an additional way that will fix it for every new child class you make.

pasting this in your ToonTanks.Build.cs:

PublicIncludePaths.Add(“ToonTanks/”);

I had this issue on another project and that seemed to fix the problem.

3 Likes

…I don’t know why I didn’t think of that. @Rob_Brooks

paste this line instead:

PublicIncludePaths.Add("ToonTanks /");

OP line has incorrect " characters due to the emphasis formatting and it will break your project

Privacy & Terms