question

Steve Lobdell avatar image
Steve Lobdell asked

Unreal Engine Plugin - Disable PlayFab GSDK on dedicated server?

Is there any way to disable this plugin if I want to just run locally without PlayFab? If I run my server outside of the LocalMultiplayerAgent, PlayFab throws an exception because there's no heart beat endpoint and crashes my server. Thanks

unreal
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Simon Cui avatar image
Simon Cui answered

You may refer to this document: How to use PlayFab GSDK Unreal plugin

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Steve Lobdell avatar image Steve Lobdell commented ·

That's not even the right plugin, but I tried this and it didn't work.

0 Likes 0 ·
Simon Cui avatar image Simon Cui Steve Lobdell commented ·

Apologize for misunderstanding your questions. May I know if the other answer worked for your issue?

0 Likes 0 ·
contact-18 avatar image
contact-18 answered

Hi ich weiß nicht ob der fix oben für dich funktioniert hat, als ich das probiert habe hat es mir damals nich geholfen darum hab ich für das testen des Dedicated Servers ein einges Server.Target.cs angelegt wo das PlayFabGSDK plugin deaktviert ist.

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool; using System.Collections.Generic;

[SupportedPlatforms(UnrealPlatformClass.Server)] public class CoRServerTarget : TargetRules // Change this line as shown previously { public CoRServerTarget(TargetInfo Target) : base(Target) // Change this line as shown previously { Type = TargetType.Server; ExtraModuleNames.Add("CoR"); // Change this line as shown previously bLegacyPublicIncludePaths = false;

     DisablePlugins.Add("PlayFabGSDK");
     DisablePlugins.Add("WMFMediaPlayer");
     DisablePlugins.Add("AsyncLoadingScreen"); //if you are using this plugin
     DisablePlugins.Add("WindowsMoviePlayer");
     DisablePlugins.Add("MediaFoundationMediaPlayer");
 }

}

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

contact-18 avatar image
contact-18 answered

Hi I don't know if the fix above worked for you, when I tried that it didn't help me at the time so for testing the dedicated server I created a server.target.cs where the PlayFabGSDK plugin is disabled.

 using UnrealBuildTool;
 using System.Collections.Generic;
    
 [SupportedPlatforms(UnrealPlatformClass.Server)]
 public class CoRServerTarget : TargetRules   // Change this line as shown previously
 {
     public CoRServerTarget(TargetInfo Target) : base(Target)  // Change this line as shown previously
     {
         Type = TargetType.Server;
         ExtraModuleNames.Add("CoR");    // Change this line as shown previously
         bLegacyPublicIncludePaths = false;
            
         DisablePlugins.Add("PlayFabGSDK");
         DisablePlugins.Add("WMFMediaPlayer");
         DisablePlugins.Add("AsyncLoadingScreen"); //if you are using this plugin
         DisablePlugins.Add("WindowsMoviePlayer");
         DisablePlugins.Add("MediaFoundationMediaPlayer");
     }
 }
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.