Just downloaded ContentExamples and was having a play around with a few things in there. After quitting and starting to download engine source code I went to open example again, but received a message:
" game module ‘ContentExamples’ could not be found. please ensure that this module exists and that is it compiled."
I have a feeling I’ve probably done something really stupid but as this point not sure what as I can’t even open project up in editor.
No, project files are all in same place. I did try to create a C++ class but it failed. When I checked folder, it had class there so I deleted it but it made no difference.
I’ll re-download it at some point again and check it out, thanks.
I just have same problem, but only happen if I try to run editor from exe… If I run it from Visual i dont have any problems… You should run \Engine\Build\BatchFiles\RegisterShellCommands.bat as an admin.
Now go to your project folder and right-click on your “.uproject” file and click “Generate Visual projects”, it will create a .sln that is set up to use editor under your source code directory instead of installed one. Now, open up .sln for your project and Build it with Development Editor/Win64 configuration and Press F5.
What I did to fix it, was I set my game-project to be “default start-up project” instead of engine. Once I did this I was able to hit “play” button and my project loaded right into place.
I am having same problem on my MAC. I was following getting started with programming guide and created a HelloWorldPrinter class.
Now when I try to start my editor it always gives me same message " game module ‘UE4Test’ could not be found. please ensure that this module exists and that is it compiled." I tried right-click on my .uproject and ‘generate xcode project’ recompile several times but still same result. Any ideas how to solve this problem on MAC?
If you have downloaded source version of engine, you will need to compile code in visual studios before you can utilize projects. To do so, please follow this link: Compiling Game Projects in Unreal Engine Using C++ | Unreal Engine 5.1 Documentation. way I would build this to right click on folder UE4 in solution window of visual studios and click build. It may take a while if this is your first time compiling code. Let me know if this helps you.
I am having this same issue. Nothing seems to correct it. I have tried several of suggestions and compiled code. I am starting back in programming after a long break, so need to brush up on projects. But this has me stumped.
I am using VS2013 Express and this started after I used add Code to Project command.
I got this problem when I upgraded from Unreal 4.0.2 to 4.1 on Windows 7.
I fixed this by right-clicking to my Unreal project file (.uproject) and clicked “Generate Visual project files”. After which I right-clicked .uproject file again and clicked “Switch Unreal Engine version…” item from context menu and chose new version of Unreal engine.
Then I launched Visual and rebuild my old project in “Development Editor” mode. After this I was able to launch my project from Unreal Engine’s main window.
We have not heard from you in quite some time. I am going to mark this as answered for tracking purposes. However, if you are still experiencing this bug please comment here and let us know so we can further assist you. Thank you and have a great day!
I have same problem, and i have tried all things in these forums and it didnt work… at all .
Also there is no " Switch Unreal Engine version " showing up in my context menu as mentioned in above comment . i’ve done SO much work that i cant really do it again,and there isnt a single line of code ,only BPs ,but it simply keeps me rebuild code , and i did rebuild it like 15 times ! …
i have 3 projects , 2 of them opens w/o any problem , but third one which is main one , doesnt open .
this really makes no sense to redo all work everytime someone updates engine…
It happened right after update . i have 2 projects with only starter content and some blueprint which loads fine .
But main project consists of 2 new maps with landscapes and static meshes and new animations and modified Character/Anim blueprints . which gives compile error and doesnt start.
BTW when i open .uproject file notepad there is a line saying “EngineVersion”: “4.0.2-0+UE4” , but other 2 projects who run also have same line and run .
What i’m doing is i’m migrating all assets from project which doesnt run, to another project which runs, but all blueprints needs re adjusting and cant migrate landscape.
Thanks.
When you open launcher there should be a white arrow next to engine version, this should allow you to select desired engine version. Try this and open your project with older engine to see if it will still open. If so we can at least see that it is limited to 4.1.0. Also can you screenshot message you are getting and post it here so we can have a look? Thank you!