Skip to main content
New Participant
October 31, 2024

Bug report: Platform SDK can't get other user‘s profile

Hi,I try to use GetLoggedInUser() to get my own personal information, and everything works fine. But how to get other people's personal information, including name, avatar?

I tried to use Users.Get(UInt64 userID), but it didn't work. Isn't this interface used for this? Is there any other interface to get other players' information instead of forwarding it through the server?

public static Request<Models.User> Get(UInt64 userID)
{
if (Core.IsInitialized())
{
return new Request<Models.User>(CAPI.ovr_User_Get(userID));
}

Debug.LogError(Oculus.Platform.Core.PlatformUninitializedError);
return null;
}
    This topic has been closed for replies.