Search code examples
unreal-engine4

Error :The game module could not be loaded


I started experimenting with game development and I am using UE4 . I am hosting my code on gitlab for version control. I cloned my project from GitLab to my Ubuntu server, so I don't have to have a copy of it on every PC at home and I could work from the server, I get this error: "The game module "MyProject" could not be loaded. There may be an operating system error or the module may not be properly set up". I created the project on a Windows 10 machine. What should I do ? Thanks in advance.


Solution

  • You created the project in the Windows version of Unreal and you are trying to launch it in a Linux environment. That will not work.

    Unreal compiles from source when you open the editor, so it will have to be set to build to Linux and not Windows.

    Hope this helps!