The game module 'myproject' could not be found

You don’t build anything, check your errors. You’re just starting editor by clicking F5.

The game module ‘myproject’ could not be found. Please ensure that this module exists and that it is compiled.

I know that the solution of the problem.
Poorly understand English.
Although the translation, I do not understand how to solve the problem.
Please, video tutorial how to do it.

Thanks

You simply have to build your project in Visual Studio first.
P.S. I highly doubt you’ll go far w/o english knowledge. Also, search before asking, that was asked many times already.

I know. English is essential. I just want to get my project.

As i said you have to compile your project first. Generate Visual Studio solution, if it was not generated automatically for some reason. To do that: right-mouse button click on YourProject.uproject and select Generate Visual Studio projects. If you don’t have these in context-menu, go to UnrealEngine\Engine\Build\BatchFiles and run RegisterShellCommands. Then open the solution and compile your project. You should now be able to open your project in editor.

UnrealEngine\Engine\Build\BatchFiles and run RegisterShellCommands.
I have no such location.

Generate Visual Studio
Shows the console.

He has the same problem. I did like him. I do not compile :/

Well, no matter. I’ll start a project from scratch. I will avoid C + + to me again the project is not sprinkled.

http://3.bp.blogspot.com/-d1K_f46SOK8/UzamRLB8S1I/AAAAAAAADsQ/aFvaqouFxPY/s1600/2014-03-29+11_53_03-.png

I’ve had this happen a few times myself. I ended up just experimenting around. When you’re using File > Add Code to Project, Visual Studio will open (Make sure you’re using 2013 for best compatibility, and that VS and UE4 are installed using default paths). On the bottom, status bar in VS 2013 will show that files are being parsed. I usually wait until it reads “Ready” before I do anything. Once ready, close UE4 Editor AND the UE4 Launcher. Then make sure you’re editing the correct header and cpp files named after your new class, not the files named after your project. Once you’re done adding in functions and variables, use Build > Build Solution, or press F7. You must have a successful build with no errors before the module can be built successfully. Once built, you should be able to open up UE4 again, open your project, and use the Class Viewer Window to find your newly created Class Actor, or whatever Type your class is. If you’re still having issues, I’d try starting a new practice project and follow THIS GUIDE to be sure your coding environment is setup correctly. After you’ve done this, try creating the most basic class as shown HERE, be sure to follow all steps and see if you can build your project successfully. There are other ways to do this, but try this approach first, and let me know how things go. Hope this helps, good luck!

Please, just to keep the thread clean, post comments as comments, not answers. You can click on “more” on your answers here, then choose “convert to comment”. Hope you find a working solution to your issue :smiley:

Reverted down vote decision. Misinterpreted.

I’m sorry, but I do not understand. I can only play with the EU4, without programming.

I have a similar problem. I have generated the project files, I have built my project, both client and editor versions. This is a pretty common error, and the only fix I’ve found is to re-create a new project, which works for a while, then it just “dies” again.

It’s starting to become a serious problem, I was able to fix it by creating a brand-new project and copying my sources/resources over. This is not the ideal solution, but it worked. As for what went wrong, I’m not 100% sure. It was one of three or four things.

  1. Didn’t save project after creating the original C++ sources.
  2. Didn’t compile the right version of the UE4 engine to use with a DebugGame build.
  3. Deleted some things in /project/bin that I shouldn’t have (thought we could rebuild it all)
  4. Built the Game Module with the Engine as main solution project instead of the Game Module.

I’m going back now to try and re-create the issue.

the problem is : there is an error in your code , open vs file and try to solve error and rebuild project
if it rebuild without error then your project will start normally

This works !

Works ! Windows update made my module go wild !

Using 4.20.3-0 on Ubuntu 16.04Lts -
Backed up then removed all files under /MyProject/Binaries/Linux
Opened MyProject , and the editor rebuild all modules.
Project is now usable.

Thank You! Can confirm that this works.
Can you share any advice on VS alternatives for seamless IDE<->UE4 engine C++ development?

Works: Move the files under UnrealProjects/“ProjectName”/Binaries/Win64 to someplace the engine can’t find them. Try to open - and it will ask if you wan’t to re build - answer yes and your in^_^. Most of those files are then regenerated. To be on the safe side I also compiled once in to check for any errors that needed fixing. .