Error :The game module could not be loaded

I cloned my project from GitHub 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.

I had similar problem (error message) - despite that my project could be successfully compiled in VS with no errors, i couldn’t’ open the editor on one machine, but on another it successfully runs without errors.
If your project could be opened on old machine, and fails to open on new after copying - It’s maybe due to missing system pathes (windows path variable). So the project does not start because it’s doesn’t see the needed dll’s

  1. check what errors you have in the log (Your project\Saved\Log). If it’s related to dll then there should be line with - Missing … something
  2. You can Ignore this part if you have it (it’s usually at the beginning of the log)- LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126)
    LogWindows: File ‘aqProf.dll’ does not exist
    LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
    LogWindows: File ‘VtuneApi.dll’ does not exist
    LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
    LogWindows: File ‘VtuneApi32e.dll’ does not exist
  3. you should search for LogWindows: Failed to load ‘:confused: …/Your Project/Binaries/Win64/UE4Editor-…dll’ (GetLastError=126) something like this
  4. and after this should be message about missing something

Overall suggestion would be - read your log for missing modules\errors, check your Path variable, try to remember what libraries did you link in your project (maybe you installed something and it was added to the Path automatically). If this is dll related error and you will find the cause - you can download needed dll and place it in the project binaries (well, the path will be in the Log) or add to the Path var