Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨

4 Replies

  • It's hard to tell what could be wrong from the stacktrace you've attached.

    Are you able to reproduce the issue locally? If so, while your Quest is connected to your computer, you can run `adb logcat *:E` which will show all errors on your device. When your app crashes, it should display some errors referencing your app's package name.

    • alkashebat's avatar
      alkashebat
      Protege

      Alright. I will try it now and will reply to your message with more info

      • afloofdev's avatar
        afloofdev
        Protege

        Here's a few things I've noticed based on the logs. Some of these might not be relevant to your app, but worth having a look.

        XrApp   : GL error at vendor/oculus/libs/libxrapp/src/utils/GlUtils.cpp:167: GL_INVALID_OPERATION

        Is your project called "XrApp" behind the scenes? There's a chance the wrong value is passed on an OpenGL function causing this. If you are using a game engine, there's a chance this is not relevant to your issue.

        SocialPlatformCredentialsManager: AuthException while getting getting token with account manager
        SocialPlatformCredentialsManager: com.oculus.accountcenter.vraccountmanagertokenhelper.VrAccountManagerTokenHelper$AuthException: Unable to get default account.
        SocialPlatformCredentialsManager:      at com.oculus.accountcenter.vraccountmanagertokenhelper.VrAccountManagerTokenHelper.fetchToken(:128)
        SocialPlatformCredentialsManager:      at com.oculus.accountcenter.vraccountmanagertokenhelper.VrAccountManagerTokenHelper.fetchFbAccessToken(:4)
        SocialPlatformCredentialsManager:      at com.oculus.socialplatform.auth.SocialPlatformCredentialsManager.refreshFbAccessTokenWithAccountManager(:5)
        SocialPlatformCredentialsManager:      at com.oculus.socialplatform.auth.SocialPlatformCredentialsManager.lambda$new$0$com-oculus-socialplatform-auth-SocialPlatformCredentialsManager(:24)
        SocialPlatformCredentialsManager:      at com.oculus.socialplatform.auth.SocialPlatformCredentialsManager$$ExternalSyntheticLambda1.run(Unknown Source:2)
        SocialPlatformCredentialsManager:      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        SocialPlatformCredentialsManager:      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        SocialPlatformCredentialsManager:      at java.lang.Thread.run(Thread.java:920)

         There's also this error, showing an issue while trying to log in with an account. Are you using the Oculus Services on your app? Is there a chance you are trying to log in but not handling errors properly so your app crashes?

        I can't see anything else obvious. I'm aware I haven't been too much help, but hopefully the things I mentioned above could give you a clue towards the right direction!