Skip to content

PlayFabAuthenticationAPI.GetEntityToken failures not handled well. #16

Description

If login succeeds but PlayFabAuthenticationAPI.GetEntityToken fails while trying to process a _queuedStartCreateAndJoinNetworkCreateLocalUserOp or _queuedJoinNetworkCreateLocalUserOp the result is just a debug print of the error every update call.

Second issue: Why is this using PlayFabAuthenticationAPI.GetEntityToken which appears to be no longer supported instead of PlayFabAuthenticationAPI.GetEntityTokenAsync?

Third issue: This code doesn't seem to protect itself from calling GetEntityToken if a token request is already in progress. I noticed several logins in my telemetry for each login attempt because of this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions