x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

ShooterGame / StrategyGame won't open in an editor built from source

Full error message: Dialog box "the game module 'ShooterGameLoadingScreen' could not be found. Please ensure that this module exists and that it is compiled." once I hit okay the editor closes.

Strategy game gives the same error, complaining about StrategyGameLoadingScreen.

Both projects open fine in the precompiled version.

I built the UE4 project using Development Editor configuration on win64.

I had a poke around the project folders and found UE4Editor-ShooterGameLoadingScreen.dll / UE4Editor-StrategyGameLoadingScreen.dll so the project appears to have be compiled. I couldn't figure out how to recompile it since there was no solution or bat files. Is building a UE4 project done within the editor ?

I've also redownloaded the source, the dependencies, and rebuilt it. Using Visual Studio 2013 on windows 7.

Any ideas ?

Product Version: Not Selected
Tags:
more ▼

asked Mar 26 '14 at 11:26 AM in Installation & Setup

avatar image

MarkOBrien
81 9 10 227

avatar image Jamie Dale STAFF Mar 26 '14 at 12:03 PM

When you say "I built the UE4 project using Development Editor configuration on win64.", I assume you also built the ShooterGame and StrategyGame projects too?

Where were UE4Editor-ShooterGameLoadingScreen.dll and UE4Editor-StrategyGameLoadingScreen.dll located on disk?

(comments are locked)
10|2000 characters needed characters left

4 answers: sort voted first

Answered this before in another answer thread:

  1. Right Click on the .uproject file and select, "Generate Visual Studio Files."

  2. Open the Visual Studio Solution

  3. Make sure your project is set to build for, "Development Editor" in the Solution Configurations drop-down.

  4. Select the project container (Not the Solution Container) in the Solution Explorer, right click on it and select, "Properties."

  5. Under Configuration Properties select, "NMake."

  6. Find and replace everywhere that the project is looking for the Launcher installed version of the engine and replace those path with the correct paths to your source built version of UE4.

  7. Clean the Solution.

  8. Build the Solution.

The project should now open without errors in your source built version of the Editor.

more ▼

answered Mar 26 '14 at 12:41 PM

avatar image

badsensation
179 2 2 13

avatar image Adr1c ♦♦ STAFF Mar 26 '14 at 12:43 PM

If you run the RegisterShellCommands.bat from the GitHub source version before generating the project files, you should be able to skip the manual build path fixups entirely.

avatar image badsensation Mar 26 '14 at 12:47 PM

Awesome tip! Thanks Adric

avatar image Adr1c ♦♦ STAFF Mar 26 '14 at 12:51 PM

Oh, and you can combine steps 7 and 8 by choosing "Rebuild Solution", as it does both.

(comments are locked)
10|2000 characters needed characters left

Hi MarkOBrien. You will need to recompile ShooterGame/StrategyGame using the Development Editor Win64 settings after you build the engine from source. You can create the solution files for the projects by right clicking on their .uproject files and selecting "Generate Visual Studio projects". If you do not have those menu options, you will need to go to your ../Engine/Build/BatchFiles/ folder and run RegisterShellCommands.bat.

more ▼

answered Mar 26 '14 at 12:30 PM

avatar image

Adr1c ♦♦ STAFF
910 18 7 18

avatar image MarkOBrien Mar 26 '14 at 01:17 PM

Thanks mate. Got it built and launched.

Note for anyone having trouble, make sure you run the RegisterShellCommands.bat as an admin, otherwise it won't work.

(comments are locked)
10|2000 characters needed characters left

Greetings everyone and thank you for this awesome Engine. My friend got UE4 and we are both discovering it. His english is not good enough, that is why I am speaking of his behalf. Well, it seems we are encountering the same problem: we can not open ShooterGame and StrategyGame and we got the same message: 'ShooterGameLoadingScreen' could not be found. Please ensure that this module exists and that it is compiled." After running the RegisterShellCommands.bat as an admin, we got the "Generate Visual Studio Files." by right clicking on ShooterGame.uproject and StrategyGame.uproject and according to this https://wiki.unrealengine.com/Generate_Visual_Studio_Project , we should get the sln file of the game and then start the steps that you mentionned. Unfortunately, the VS project wasn't created "Just above your Strategy Game project, you should see a new file for Visual Studio. Open it up to take a peek at all of the C++ code behind your game! " like how the tutorial indicates. So If we didn't get the sln file, then we can not continue the following steps to make the project run. Can you please help us? Thanks.

more ▼

answered Mar 28 '14 at 08:38 PM

avatar image

DarkInfiktrator
11 5 8 9

(comments are locked)
10|2000 characters needed characters left

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

more ▼

answered Jan 07 '18 at 11:15 AM

avatar image

jotar2012
1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question