cancel
Showing results for 
Search instead for 
Did you mean: 

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

ReturnLegend
Honored Guest

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;
}
0 REPLIES 0