10-30-2024 06:31 PM
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;
}