question

contact-18 avatar image
contact-18 asked

UE5 server crashes after GSDK installation

Hello all,

first of all, the server runs in the playfab cloud without any problems and I can also connect to the server via matchmaking.

However, I would like to be able to start my servers outside the cloud, e.g. on Amazon servers or simply on a computer at home. (These servers should also not work with the matchmaking).

When I do that I always get the following crash:

LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Fatal error: [File:C:\UsurpatorBaseDev\UE5\Plugins\PlayFabGSDK\Source\PlayfabGSDK\Private\GSDKInternal.cpp] [Line: 76] 
LogWindows: Error: Heartbeat endpoint and Server id are required configuration values.
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: 
LogWindows: Error: [Callstack] 0x00007ff6187a0cd3 CoRServer.exe!FGSDKInternal::FGSDKInternal() [C:\UsurpatorBaseDev\UE5\Plugins\PlayFabGSDK\Source\PlayfabGSDK\Private\GSDKInternal.cpp:77]
LogWindows: Error: [Callstack] 0x00007ff61879dd04 CoRServer.exe!FPlayFabGSDKModule::StartupModule() [C:\UsurpatorBaseDev\UE5\Plugins\PlayFabGSDK\Source\PlayfabGSDK\Private\PlayfabGSDK.cpp:45]
LogWindows: Error: [Callstack] 0x00007ff619335648 CoRServer.exe!FModuleManager::LoadModuleWithFailureReason() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Core\Private\Modules\ModuleManager.cpp:475]
LogWindows: Error: [Callstack] 0x00007ff619690f10 CoRServer.exe!FModuleDescriptor::LoadModulesForPhase() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Projects\Private\ModuleDescriptor.cpp:690]
LogWindows: Error: [Callstack] 0x00007ff6196a222d CoRServer.exe!FPluginManager::TryLoadModulesForPlugin() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Projects\Private\PluginManager.cpp:1583]
LogWindows: Error: [Callstack] 0x00007ff619690c0f CoRServer.exe!FPluginManager::LoadModulesForEnabledPlugins() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Projects\Private\PluginManager.cpp:1658]
LogWindows: Error: [Callstack] 0x00007ff616bb1ce6 CoRServer.exe!FEngineLoop::AppInit() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5765]
LogWindows: Error: [Callstack] 0x00007ff616bc4bab CoRServer.exe!FEngineLoop::PreInitPreStartupScreen() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:2413]
LogWindows: Error: [Callstack] 0x00007ff616bba356 CoRServer.exe!GuardedMain() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Launch\Private\Launch.cpp:137]
LogWindows: Error: [Callstack] 0x00007ff616bba6ba CoRServer.exe!GuardedMainWrapper() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
LogWindows: Error: [Callstack] 0x00007ff616bbd4dc CoRServer.exe!LaunchWindowsStartup() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
LogWindows: Error: [Callstack] 0x00007ff616bcb144 CoRServer.exe!WinMain() [D:\UE5Git\UnrealEngine\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:331]
LogWindows: Error: [Callstack] 0x00007ff61f8502fa CoRServer.exe!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogWindows: Error: [Callstack] 0x00007ffa01fe7034 KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffa03022651 ntdll.dll!UnknownFunction []
LogWindows: Error: 
LogWindows: FPlatformMisc::RequestExit(1)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
LogCore: Engine exit requested (reason: Win RequestExit)

Am grateful for any help.

10 |1200

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

Made Wang avatar image
Made Wang answered

For non-MPS environments, you don't need to integrate GSDK.

GSDK is designed to be used when the server is hosted on MPS, in other environments it will be interrupted due to the lack of GSDK runtime environment.

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 ·

But how are you supposed to develop? I can't run my project locally in the UE editor...

0 Likes 0 ·
contact-18 avatar image contact-18 Steve Lobdell commented ·

Play in Editor and locale server work for me by now. I use the GSDK delegates only if a bool is set to true. I think that solved the play in editor problems.

5422-image.png

0 Likes 0 ·
image.png (51.1 KiB)
Dimitris-Ilias Gkanatsios avatar image
Dimitris-Ilias Gkanatsios answered

For other environments (including local), you might want to check Thundernetes (https://playfab.github.io/thundernetes) which has compatibility with MPS on the GSDK level.

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

hey thanks for the answers.

but i still think that a server should not crash just because a plugin was added.

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.