Download

Creating C++ Pawn Class - Error:

Hi all. I’m stumped… When I am attempting to create a new C++ pawn class I am getting this error: All source code for ‘project name’ must exist within “Engine/Binaries/Win64” directory.

I’ve never seen this before. I’ve deleted the normal folders and generated the project files again. I’ve looked at a few ini files, but I’m not sure what else to try. Any suggestions would be great. Thanks!

teak

PS: I’ve done a bunch of googling / searching answerhub… Can’t find anything.

For future
I cannot believe this, but you must create your folder structure like this:
/Source//<your_subdirs>
Note: yes, it has project in there twice!
If you do not you get the error mentioned above.

check manual screenshot:

1 Like

Your project is a module, just like everything in Unreal.

2 Likes