Forum Discussion
alkashebat
2 years agoProtege
Game crashes on start or randomly
Im very confused what can cause this and all i have is oculus reports
4 Replies
- afloofdevProtege
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.
- alkashebatProtege
Alright. I will try it now and will reply to your message with more info
- afloofdevProtege
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_OPERATIONIs 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!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 6 months ago
- 6 months ago