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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Unreal Build Tool Failed, ModuleRules

Hi, I've been trying to set up the Steamworks SDK for a bit now, and am struggling setting it up to work with packaging. I've been using the UE4 Steam Connection program to set UE4 up for use with the SDK but after doing so I'm still getting an error, despite having looked into it, following all instructions, double checking filenames etc. Note that I'm using the program as I can't find any thorough enough. documentation on manually setting up the Steamworks SDK.

The key error within my log appears to be this:

error CS1729: 'UnrealBuildTool.ModuleRules' does not contain a constructor that takes 0 arguments UATHelper: Packaging (Windows (64-bit)): ERROR: Unable to compile source files.

Here's the pointed-to log file: https://pastebin.com/CgvyyPnG

Product Version: UE 4.20
more ▼

asked Oct 18 '18 at 12:36 AM in Packaging & Deployment

avatar image

3 1 2 4

avatar image TheDreamCatcher Oct 18 '18 at 03:15 AM

what are the content of your Build.cs and Target.cs?

avatar image LookForKlefki Oct 18 '18 at 11:40 AM

Here's my build.cs

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. using UnrealBuildTool;

 public class Boing4 : ModuleRules
     public Boing4(TargetInfo Target)
         MinFilesUsingPrecompiledHeaderOverride = 1;
         bFasterWithoutUnity = true;
             new string[] { 
                 "UMG", "Slate", "SlateCore"
         PublicDependencyModuleNames.AddRange(new string[] { 

And here's my target.cs:

 // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
 using UnrealBuildTool;
 using System.Collections.Generic;
 public class Boing4Target : TargetRules
     public Boing4Target(TargetInfo Target) : base(Target)
         Type = TargetType.Game;
         bUsesSteam = true;

Thanks :)

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

1 answer: sort voted first

In your Build.cs it should be like this public Boing4(ReadOnlyTargetRules Target) : base(Target)

more ▼

answered Oct 18 '18 at 12:27 PM

avatar image

263 2 4 5

avatar image LookForKlefki Oct 18 '18 at 12:54 PM

Thanks, this fixed this error. Upon rebuilding I got an error about not including projectname.h at the top of all my project C++ files which I fixed, which then ran me into this error I don't understand in projectcharacter.cpp:

https://pastebin.com/BgkjtQXL (some of the parts are too long to post in a comment).

Here's my character.h which has the error now: https://pastebin.com/8YujZD4C

avatar image TheDreamCatcher Oct 18 '18 at 01:43 PM

you need to add "HeadMountedDisplay" to your publicDependencyModuleNames in your Build.cs

(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