-
Notifications
You must be signed in to change notification settings - Fork 49
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
authenticated failed and shared spatial anchor can't work #21
Comments
Hi @chris312319. I just grabbed a fresh clone of the repository and I was able to successfully authenticate. Did you update the Package Name (Bundle Identifier) of this project to match your app's? Both the App Id and Package Name are unique to each app on the store. You can also try downloading the store build of your app first to enable the entitlement. After successful authentication with a store build, you can sideload apks from there. Let me know if the issue remains after trying the above. |
I have changed package name with my own company name, it works fine when I do same things in disocver. And I haven't push Discover on to the store , is it necessary ? I have two app in my Oculus developer center now, and both of its id can work with Discover though. |
Most of the app features work in Discover without authentication. Have you confirmed that authentication is working via logs? The only feature that requires it is colocation (local multiplayer across two or more devices). |
Yes, here is my video with Disocer test, which shows the shared spatial anchors worked. another test video: So I think colocation works fine. |
Ok, thanks for confirming. Can you send me the logs from the SSA sample? |
Ok, I will post the logs here tomorrow. |
Yes, logcat is available. You can use Meta Quest Developer Hub to filter Unity logs, or use the below adb command. adb logcat -s Unity Activity$$anonymous$$anager Package$$anonymous$$anager dalvikvm DEBUG |
12:21:12.369 Is this the reason? *update *update |
Hi @chris312319. Thanks for sharing your logs. Both apps seem to be failing entitlements and platform authentication. You will need to upload an apk to one of the store channels to test your apps end to end. Discover will attempt to localize the spatial anchor even when platform authentication fails. If you are using the same account on two devices, it is likely that you will be able to localize the anchor without successfully sharing it. |
After upload and download by AppLab, authenticated failed won't appear at all. |
Hi @chris312319. Thanks for confirming that uploading to the store fixed the auth issue. Be sure to enable 'Share Point Cloud Data' on your device: https://www.meta.com/help/quest/articles/in-vr-experiences/oculus-features/point-cloud/ Also, we just released a new version that adds support for the latest SDKs and OS. |
I have tried Unity-discover and everything works fine.
But I tried this with same app Id , it always shows "You are not authenticated to use this app. Shared spatial anchors will not work."
I have tried another app Id, it still works fine in Discover.
Is it the reason that SDK for this repostiry is too old?
The text was updated successfully, but these errors were encountered: