Hi there,
Calling GetLinkedAccountAuthToken without previously checking SteamUserPtr->BLoggedOn would not call any Delegate creating a possible infinite loop.
Using these steps you are able to make “if (SteamUserPtr != NULL && SteamUserPtr->BLoggedOn())” fail, following a path that will result in a no-op without the caller knowing
1. Set Steam offline
2. Launch the game with Steam OSS enabled
3. Call GetLinkedAccountAuthToken with InTokenType=WebAPI
4. See that the Delegate is never called
adding
else
{
Delegate.ExecuteIfBound(LocalUserNum, false, FExternalAuthToken());
}
Would correctly make it fail as expected.