I've already looked at this question here and here, however that method doesn't work as it causes crashes when testing inside of the editor. I'm working strictly in C++ for this portion of our game and I want to set the developer secret key via code when the server is starting up. The docs seem to be out of date and there's conflicting information on various posts i've looked at.
From looking through code, it seems the only place to set it is UPlayFabRuntimeSettings, however that's not mutable as far as I can tell.
Answer by Gosen Gao · Dec 10, 2021 at 09:05 AM
You can set the TitleId and the DeveloperSecretKey with code below.
GetMutableDefault<UPlayFabRuntimeSettings>()->TitleId = "TitleId"; GetMutableDefault<UPlayFabRuntimeSettings>()->DeveloperSecretKey = "DeveloperSecretKey";
For more information, please refer to Upgrade Guide.
Ah, I was just missing the template in there. Thanks for the info. Worked like a charm!
multiply defined symbol FLogCategoryLogPlayFab in github UnrealMarketplacePlugin 1 Answer
Unreal Engine plugin to create a playfab compliant server 1 Answer
Unreal Online Session Management,PlayFab Unreal Online SubSystem 2 Answers
UE4 RequestMultiplayerServer results in InvalidAPIEndpoint error 1 Answer