Forum Discussion

vivekrajagopal's avatar
3 years ago
Solved

Other players avatars not showing up in Rift Application.

Dear Devs,   My app has Rift and Quest support. I've created two applications in dashboard, one for Rift and one of Quest.  I've also pasted the app IDs in the Platform and Avatars Settings file i...
  • JeffNik's avatar
    JeffNik
    3 years ago

    Hmmm. I admit that I could be wrong here, but I believe that you need to use the userid returned with "GetLoggedInUser" to pull the avatar data. I read the documentation to mean that you would use GetOrgScopedId to identify the user across UNRELATED applications across your organization - but I admit it's my interpretation. I know that I have never used that function, and I have tested an avatar-based application that ran on both Quest and Rift and never encountered your issue where it worked on one but not the other. But I'm just a hobbyist, not a pro and have never released an app. Let me know how it goes - I'm curious about it now.

     

    • Platform.Users.GetOrgScopedID()

    This method returns an ID that can be used to identify this user across all applications in your organization. Please note that the OrgScopedID is not the same as the userID in an app.