-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
A wacky crash while calling ArSession_create #586
Comments
The fact that this suddenly started happening probably means it's related to the 1.5 update that released a few days ago. Is there a logcat message generated by this crash? Since it's entering an abort path I would suspect there is. One thing that's suspicious is that this is coming from CheckThread. Is it possible that you're not calling ArSession_create from the JNI thread? If you have a vm object you can use AttachCurrentThread to get an env for another thread. |
One thought: in particular check your logcat for the message "AssetManager has been finalized!". This would indicate that this is actually #563 surfacing in a different way. |
Duplicate of #563 |
Thank you for your advice inio. I'm sure that calling ArSession_create from the JNI thread. And your assumption is correct, there really is a message “AssetManager has been finalized!” in logcat. |
A wacky crash while calling ArSession_create. Here is a crash stack call trace snapshot
This crash suddenly occur to me in my Samsung SM-G9600 every time , I have no idea to deal with it. Please give me some advice to solve it. Thank you.
The text was updated successfully, but these errors were encountered: