question

playfab-11 avatar image
playfab-11 asked

CustomID Invalid Param with Unity SystemInfo.deviceUniqueIdentifier

Hi
Using Unity method SystemInfo.deviceUniqueIdentifier with UWP, and it generate a 112 character long string.

What is the length limit of CustomID

limits
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

·
Sarah Zhang avatar image
Sarah Zhang answered

The length of the CustomId that can be linked to the PlayFab player account is limited to greater than 0 and less than or equal to 100 characters. You can also check this thread - Unable to login with CostumID on UWP build - Playfab Community for more information. If you want to call the API LoginWithCustomID to register and login a player account using a CustomId, you can consider using the method Guid.NewGuid Method to generate a GUID and use it as the CustomId. Please refer to the documentation - Guid.NewGuid Method (System) | Microsoft Docs for information.

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.

Peter Johnson avatar image Peter Johnson commented ·

I have tried this, however the player keeps getting asked to re register a playername, as the NewGuid keeps creating a new GUID

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.