Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error -1006 occurs on sharing anchor. #4

Closed
yutokun opened this issue Dec 21, 2022 · 3 comments
Closed

Error -1006 occurs on sharing anchor. #4

yutokun opened this issue Dec 21, 2022 · 3 comments

Comments

@yutokun
Copy link

yutokun commented Dec 21, 2022

Possibly my mistake but I couldn't figure out. If anyone has any idea, please tell me.

Expected

Shared Anchor appears on opponent headset.

Actually

Error -1006 happens and nothing on opponent.

To Reproduce

  • Set Photon App ID, App Version, Fixed Region.
  • Build and run this repository on 2 Meta Quest Pros.
  • Load scene "Anchor Sharing Demo".
  • Join same room on them.
  • Create an anchor and press Share Anchor button.
  • Error -1006 happens.

IMG_0992

@loic-all
Copy link

We had the same problem and after some research we found the solution.

You have to create an app on the Meta Quest Org Manager.
When the app is created, you have to add the app ID (found under "API" tab in the App Manager) in the Oculus Platform Settings in Unity.
You also need to be granted the User ID and User Profile permissions in the App Manager under Data user Checkup.

@yutokun
Copy link
Author

yutokun commented Jan 24, 2023

Thank you for sharing infomation.

I granted those permissions, then shared anchor appeared! Thank you so much.

@MPFabularisLab
Copy link

I have User ID and User Profile permission on App Manager under Data user Checkup but I have still the error -1006.
Why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants