PlayfabGSDK crashing my game. It works for my other teamates..

My game keeps crashing everytime I hit play. Me and my friends share a github repository and they are all able to press play and use the game. I was able to too till about 4 days ago.

This is the stack trace.

ntdll.dll!00007ff8edbb1a9d() Unknown
[Inline Frame] UnrealEditor-PlayFabGSDK.dll!Windows::EnterCriticalSection(Windows::CRITICAL_SECTION *) Line 238 C++
[Inline Frame] UnrealEditor-PlayFabGSDK.dll!FWindowsCriticalSection::Lock() Line 44 C++
[Inline Frame] UnrealEditor-PlayFabGSDK.dll!FScopeLock::{ctor}(FWindowsCriticalSection *) Line 39 C++
> UnrealEditor-PlayFabGSDK.dll!FGSDKInternal::SetState(EGameState State) Line 568 C++
UnrealEditor-PlayFabGSDK.dll!FGSDKInternal::ReadyForPlayers() Line 591 C++
[Inline Frame] UnrealEditor-PlayFabGSDK.dll!FPlayFabGSDKModule::ReadyForPlayers() Line 98 C++
UnrealEditor-PlayFabGSDK.dll!UGSDKUtils::ReadyForPlayers() Line 213 C++
[Inline Frame] UnrealEditor-Engine.dll!UGameInstance::BroadcastOnStart() Line 704 C++
UnrealEditor-Engine.dll!UGameInstance::StartPlayInEditorGameInstance(ULocalPlayer * LocalPlayer, const FGameInstancePIEParameters & Params) Line 411 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::CreateInnerProcessPIEGameInstance(FRequestPlaySessionParams & InParams, const FGameInstancePIEParameters & InPIEParameters, int InPIEInstanceIndex) Line 3141 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::OnLoginPIEComplete_Deferred(int LocalUserNum, bool bWasSuccessful, FString ErrorString, FPieLoginStruct DataStruct) Line 1590 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::CreateNewPlayInEditorInstance(FRequestPlaySessionParams & InRequestParams, const bool bInDedicatedInstance, const EPlayNetMode InNetMode) Line 1853 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::StartPlayInEditorSession(FRequestPlaySessionParams & InRequestParams) Line 2872 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequestImpl() Line 1167 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::StartQueuedPlaySessionRequest() Line 1068 C++
UnrealEditor-UnrealEd.dll!UEditorEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 1902 C++
UnrealEditor-UnrealEd.dll!UUnrealEdEngine::Tick(float DeltaSeconds, bool bIdleMode) Line 550 C++
UnrealEditor.exe!FEngineLoop::Tick() Line 5921 C++
[Inline Frame] UnrealEditor.exe!EngineTick() Line 61 C++
UnrealEditor.exe!GuardedMain(const wchar_t * CmdLine) Line 180 C++
UnrealEditor.exe!LaunchWindowsStartup(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * __formal, int nCmdShow, const wchar_t * CmdLine) Line 247 C++
UnrealEditor.exe!WinMain(HINSTANCE__ * hInInstance, HINSTANCE__ * hPrevInstance, char * pCmdLine, int nCmdShow) Line 298 C++
[External Code]

Heres some of the unreal engine logs:
[2024.07.30-04.21.50:549][707]LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal(), InstanceID=2
[2024.07.30-04.21.50:549][707]LogAudioMixer: Display: FMixerPlatformXAudio2::SubmitBuffer() called for the first time. InstanceID=2
[2024.07.30-04.21.50:549][707]LogInit: FAudioDevice initialized with ID 2.
[2024.07.30-04.21.50:549][707]LogAudio: Display: Audio Device (ID: 2) registered with world ‘CharSelection_Area’.
[2024.07.30-04.21.50:549][707]LogAudioMixer: Initializing Audio Bus Subsystem for audio device with ID 2
[2024.07.30-04.21.50:554][707]LogPlayFabGSDKGameInstance: Warning: Reached onStart!
[2024.07.30-04.21.50:555][707]LogPlayFabGSDK: Display: ReadyForPlayers, setting game state to StandingBy!
Exception thrown at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Unhandled exception at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Exception thrown at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Unhandled exception at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Exception thrown at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Unhandled exception at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Exception thrown at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.
Unhandled exception at 0x00007FF8EDBB1A9D (ntdll.dll) in UnrealEditor.exe: 0xC0000005: Access violation writing location 0x0000000000000240.

There’s a bug in how the PlayfabGSDK initializes in PlayFabGSDK.cpp and FGSDKInternal is accessed without being constructed first. As a workaround you can try running in Shipping mode or make sure that you only run ReadyForPlayers on a Dedicated Server in your GameInstance

#if UE_SERVER
UGSDKUtils::ReadyForPlayers();
#endif