Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Feedback Please change API from 'IUserProfile.gameId' tobe 'IUserProfile.globalId' instead

Discussion in '2020.1 Beta' started by Thaina, Feb 13, 2020.

  1. Thaina


    Jul 13, 2012
    In the past, the `IUserProfile` interface only support one `id` property. And it was used by some 3rd party such as google play service as the gameId itself, and the globalId is another id altogether

    So I think if you would have gameId separated from globalId, it should be globalId that was be added instead. Or maybe deprecate the old `id` and add both globalId and gameId together. So it would have no unintentional bug that the id was changed, or gameId are actually globalId, or the id itself is actually be the gameId. We developer then need to intentionally choose id we really should used in our project

    2020 still alpha so it should not be breaking change now