04-17-2019 09:15 AM
ovr_PlatformInitializeWindows(our_app_id); // returns ovrPlatformInitialize_Success
ovrAvatar_Initialize(our_app_id);
user_id = ovr_GetLoggedInUserID(); // returns 0
ovrAvatar_RequestAvatarSpecification(user_id);
As noted, ovr_GetLoggedInUserID() always returns 0. We've also tried using the async api to no avail. ovr_PlatformInitializeWindows gives us two telling errors:03-31-2021 09:50 PM
Users must be authenticated with the Oculus Platform Services to retrieve their personalized avatar. Oculus' version of "cross platform" just means that you can retrieve a set of pre-defined avatars on non-oculus devices. Users won't be able to retrieve a "personalized" avatar but you can give them the option to select one of the available presets. For example, loading an avatar using any of the following oculus IDs will work: