-
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
IllegalStateException "AssetManager has been finalized!" #563
Comments
Replying for bookkeeping purposes. |
@siny-yao sees this show up as a crash in native code in session create, with the actual failure in |
This seems to be the same problem |
In previous attempts we'd been unable to reproduce this issue. To help test a workaround, could someone who is able to reliably reproduce this issue try the following? In your at the class scope:
in
Our current best theory is that this is actually an Android bug where the remote asset loader (that we use to load stuff from ARCore APK, like device calibration) is getting garbage collected and then can't be recreated. Holding a copy of it would prevent the garbage collection from happening. |
I try your advice in SM-G9600/DS the "AssetManager has been finalized" error still occur . |
Thanks for trying that. Good news is we've found a way of reproducing this reliably and are looking into fixes. |
@inio May I ask you about the progress of fixing this bug ? Waitting for your good news. Thank you. |
None yet, but haven't had cycles to look at this recently. Hoping to have some time before 1.6 branches. |
We've just released an update (1.5.1) with a minor improvement on this: The crash some users started seeing in 1.5 should now be back to a FatalException during session create. This update is available through the Play Store and can be downloaded on our releases page. |
Fixed in ARCore for Unity SDK 1.6.0 |
We've seen a couple reports of this issue.
In some situations, an ARCore operation will fail with a FatalException and the logcat will show:
We are still searching for the root cause of this error.
The text was updated successfully, but these errors were encountered: