MicrosoftDocs / playfab-docs

Documentation for the Azure PlayFab service for game development
Creative Commons Attribution 4.0 International
97 stars 122 forks source link

Multiplayer example results in error #507

Open markffrench opened 4 months ago

markffrench commented 4 months ago

[Enter feedback here] This example results in an error

no PlayFab entity token was associated with the provided entity key. Use PFMultiplayerSetEntityToken to associate a PlayFab entity token with a PlayFab entity key before passing that entity key to the API. 0x89236402

To fix this you must call the following function after receiving your LoginResult: PlayFabMultiplayer.SetEntityToken(loginResult.AuthenticationContext);


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.