Cannot load project due to "missing modules" error

I created a new C++ class yesterday to add to my project. Today, when I try to load the project I’m hit with the “The following modules are missing or built with a different game engine” error. Tried rebuilding but it fails.

The module that it says is causing the error is my main game module for the project. In other words, it’s not a separately created module nor is it a plugin. I’ve tried commenting out the ExtraModuleNames.AddRange line in the Target.cs files. I’ve tried rerunning “generate project files” and rebuilding the solution. Nothing’s working.

If anyone has any advice at all, I’m really confused as to why this is happening as it was just working yesterday and I’ve usually added c++ classes to my project without issue.

I think you have to delete the binaries regarding those modules before rebuilding.

Hey,if you just want to open your project,you could find the xxx.uproject,right click on it and edit it with a text editor,delete the module and reopen your project,things should work fine

1 Like

I ended up just making a new project and moving all the content over from the old one. Hopefully I won’t have to, but I’ll try this if it happens again! Thanks!

1 Like

@Humanasset tried this but it didn’t work. Ended up making a new project. Thanks for your reply!

1 Like