troubl building playfab 3.1.3 in unreal 5.8

i am trying to make a multiplayer in unreal 5.8. i downloaded the playfab 3.1.3 which is said to support unreal 5.8. i made sure to download the correct version of gdk 260405. I checked if it was between my min and max allowed version in my engine.

when trying to build i get 2 link errors.

  1. Link [x64] UnrealEditor-PlayFabCore.dllPlayFabCoreModule.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) bool __cdecl SetupGDKEnvironment(wchar_t const *)” (__imp_?SetupGDKEnvironment@@YA_NPEB_W@Z) referenced in function “public: void __cdecl FPlayFabCore::EnsureXGameRuntimeInitialized(void)” (?EnsureXGameRuntimeInitialized@FPlayFabCore@@QEAAXXZ)PlayFabCoreModule.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) void __cdecl TeardownGDKEnvironment(void)” (__imp_?TeardownGDKEnvironment@@YAXXZ) referenced in function “private: void __cdecl FPlayFabCore::OnTeardownForPIE(void)” (?OnTeardownForPIE@FPlayFabCore@@AEAAXXZ)C:\DAEGit\GASTutorial\GASProject\Plugins\PlayFabUnreal\Binaries\Win64\UnrealEditor-PlayFabCore.dll : fatal error LNK1120: 2 unresolved externals
  2. ExternalUInterfacePlayFab.GDK.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: static struct XTaskQueueObject * __cdecl FGDKAsyncTaskQueue::GetGenericQueue(void)” (__imp_?GetGenericQueue@FGDKAsyncTaskQueue@@SAPEAUXTaskQueueObject@@XZ) referenced in function “private: bool __cdecl FOnlineExternalUIPlayFab::ShowInviteUIGDK(int,class FName)” (?ShowInviteUIGDK@FOnlineExternalUIPlayFab@@AEAA_NHVFName@@@Z)OnlineSessionInterfacePlayFab.GDK.cpp.obj : error LNK2001: unresolved external symbol “__declspec(dllimport) public: static struct XTaskQueueObject * __cdecl FGDKAsyncTaskQueue::GetGenericQueue(void)” (__imp_?GetGenericQueue@FGDKAsyncTaskQueue@@SAPEAUXTaskQueueObject@@XZ)OnlineSessionInterfacePlayFab.GDK.cpp.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: class TGDKHandle<struct XblContext *> __cdecl FOnlineSubsystemGDK::GetGDKContext(unsigned __int64)” (__imp_?GetGDKContext@FOnlineSubsystemGDK@@QEAA?AV?$TGDKHandle@PEAUXblContext@@@@_K@Z) referenced in function “class TGDKHandle<struct XblContext *> __cdecl GetGDKContextForXuid(unsigned __int64,class IOnlineSubsystem *)” (?GetGDKContextForXuid@@YA?AV?$TGDKHandle@PEAUXblContext@@@@_KPEAVIOnlineSubsystem@@@Z)C:\DAEGit\GASTutorial\GASProject\Plugins\OnlineSubsystemPlayfab\Binaries\Win64\UnrealEditor-OnlineSubsystemPlayFab.dll : fatal error LNK1120: 2 unresolved externals

The readme didnt mention an extra files i need, does anyone know what to do to fix this.

fyi i do not need this to build for switch, playstation or xbox. just for pc.

in the build log, it shows that it creates a directory path thath doesnt exicst. \Plugins\PlayFabUnreal\Source\PlayFabUnreal\PlayFabUnreal.Build.cs : warning : Referenced directory ‘C:\Program Files\Epic Games\UE_5.8\Engine\Platforms\GDK\Source\Runtime\GDKRuntime\Public’ does not exist. but it does get created and gets used. This path is hardcoded in the module, so the plugin does expect something to be there. but thats not in my case. I believe the link errors are from this.