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"

Generating VS project files for Shooter/Strategy Games

Hello

So I built the UE4 from source using GitHub. Not I am attempting to generate the Visual Studio project files for the strategy and shooter example games found in the Unreal Marketplace.

When I right-click on the StrategyGame.uproject file I am given the option to "Switch Unreal Engine Version". When I try to switch to the source code version it automatically attempts to build the project files but then another window pops up showing me this:

Running D:/GitHub/UnrealEngine/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/UnrealProjects/StrategyGame/StrategyGame.uproject" -game -engine -progress Discovering modules, targets and source code for game... ERROR: Exception thrown while processing dependent modules of StrategyGame ERROR: Couldn't find module rules file for module 'AIModule'.

I get the exact same message when I try to generate the files for the shooter game as well.

Anyone know what this means?

Product Version: Not Selected
Tags:
more ▼

asked Jul 18 '14 at 05:42 AM in Installation & Setup

avatar image

Oblivinator101
20 5 6 11

avatar image Tim C ♦♦ STAFF Jul 21 '14 at 07:47 PM

Hi Oblivinator101,

What version of the Engine are you using, and what version of Shooter Game and Strategy Game did you download?

avatar image Oblivinator101 Jul 21 '14 at 08:20 PM

Hello Tim,

I'm new to using GitHub but I forked the 4.2.1 version of the engine and I downloaded the 4.3 version of both games. I looked to see if there was a 4.3 version I could clone but I didn't see it on the github website

avatar image Oblivinator101 Jul 21 '14 at 08:27 PM

I just checked again and I see it now. Maybe downloading that version will make it work. Is there a simple way to replace the 4.2 clone with the 4.3 version?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Oblivinator,

The simplest way to update to a newer version of the Engine would be to delete the existing Engine folder from your computer, then reclone the newer version with the correct dependency files for the newer version. This is not recommended if you have modified any of the Engine source files.

There are other methods for updating to a newer version of the Engine, but they are a little more involved. I can expand on one or two of those methods if you would like.

Alternatively, you could try downloading the 4.2 version of the Shooter and Strategy games and open them in your current Engine version. It is possible to upgrade a project from 4.2 to 4.3, for example, but you cannot take a project the other way (from 4.3 to 4.2). Even when upgrading a sample project from 4.2 to 4.3, you will still need to go through and clean up some code errors caused by changes to the Engine, so downloading the correct version of the sample project is usually the easiest option.

more ▼

answered Jul 21 '14 at 09:45 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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