question

Matthew Miskiewicz avatar image
Matthew Miskiewicz asked

No "LoginTitlePlayerAccountEntity " to set in unity SDK

I have seen mentioned by several staff to set this value when logging the player in...but as stated, you can't set this value when logging a player in using the Unity SDK (it doesn't exist in any of the login request params types).

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Please refer to https://docs.microsoft.com/en-us/rest/api/playfab/client/authentication/registerplayfabuser?view=playfab-rest. LoginTitlePlayerAccountEntity is a legacy property that has been ignored in the SDK because it is automatically always-on, since we have many APIs that require entity token. May I ask what’s the scenario that you need to turn off entity login?

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Matthew Miskiewicz avatar image Matthew Miskiewicz commented ·

Ah! That makes sense! I was doing a separate call to GetEntityToken after logging the player in. This just saves me an API call. Thanks! :-)

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.