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"

Couldn't find target rules file for target 'UE4Server' in rules assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

I am trying to get a dedicated server built with ue4 4.20. However whenever I try and build the server in visual studio I get the error

 Severity    Code    Description    Project    File    Line    Suppression State
 Error        
 
     Couldn't find target rules file for target 'UE4Server' in rules assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.    MMOgame    C:\Users\akrol\Desktop\MainBuild\MMOgame\Intermediate\ProjectFiles\UnrealBuildTool    1    

I have a server target though and here is what is in it

 // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
 
 using UnrealBuildTool;
 using System.Collections.Generic;
 
     [SupportedPlatforms(UnrealPlatformClass.Server)]
     public class MMOgameServerTarget : TargetRules   // Change this line as shown previously
     {
            public MMOgameServerTarget(TargetInfo Target) : base(Target)  // Change this line as shown previously
            {
             Type = TargetType.Server;
             ExtraModuleNames.Add("MMOgame");    // Change this line as shown previously
            }
     }


Does anyone know how to fix this by chance I have looked around but haven't found any solutions that helped :/

I fallowed this tutorial https://wiki.unrealengine.com/Dedicated_Server_Guide_%28Windows_%26_Linux%29

Thank you for your time.

Product Version: UE 4.20
Tags:
more ▼

asked Dec 13 '18 at 10:45 AM in Packaging & Deployment

avatar image

rolle817
16 6 7 8

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

1 answer: sort voted first

Try to delete the Intermediate & Saved folder will help.

more ▼

answered Dec 13 '18 at 11:02 AM

avatar image

Erikwong
1 3 5

avatar image rolle817 Dec 13 '18 at 11:14 AM

I tried deleting those then re generating the visual studio project files and still get the error :/

avatar image rolle817 Dec 13 '18 at 01:12 PM

I noticed these though when i was generating the files however it still goes through

Discovering modules, targets and source code for project... C:\Program Files\Epic Games\UE_4.20\Engine\Source\ThirdParty\Expat\Expat.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.20\Engine\Source\ThirdParty\Expat\expat-2.2.0\Win64\VS2015\Release' does not exist. C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\Marketplace\SocketIOClient\Source\SocketIOClient\SocketIOClient.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.20\Engine\Source\SocketIOClient\Public' does not exist. C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\Marketplace\SocketIOClient\Source\SocketIOClient\SocketIOClient.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\Marketplace\SocketIOClient\Source\ThirdParty\Boost\Include' does not exist. C:\Program Files\Epic Games\UE_4.20\Engine\Plugins\Marketplace\SocketIOClient\Source\CoreUtility\CoreUtility.Build.cs: warning: Referenced directory 'C:\Program Files\Epic Games\UE_4.20\Engine\Source\CoreUtility\Public' does not exist.

avatar image FinalZer0 Jan 08 '19 at 10:38 AM

Did you find solution for your problem?

(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