Project Can't Find Engine Code

I recently switched from simply using the downloaded engine to building the engine source code that I cloned from the GitHub repository. However, now my project doesn’t know where to look to find the engine code. Does anyone know how to edit the build configuration so that all projects knows where to look to find the engine?

Hi, the easiest way I’ve found for this is to right click on your uproject file, choose ‘Switch Engine version’ and select the version of your engine that you built from source yourself (it will definitely be listed here assuming you’ve installed/built it properly).

This will setup your solution to include both your project and the UE4 source folder from your build. Note that choosing F7 or Build in Visual Studio might build not just your project but the entire engine from scratch. I’ve found using the ‘Project Only->Build Only MyProject’ option in Visual Studio helps build only your project (right click on your solution for this menu).

Finally there’s also a few other ways of doing this that have been discussed in detail in this forum thread: