Replies: 1 comment
-
Did you find a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using arsceneview compose component initially it works fine but sometimes if I reopen it many times (it is hidden from compose view with if consensus) or when hiding and reopen app the application crushes with stacktrace:
Caused by: java.lang.Throwable: Explicit termination method 'release' not called at dalvik.system.CloseGuard. openWithCallSite( CloseGuard. java: 259) at dalvik.system.CloseGuard. open( CloseGuard. java: 230) at android.view.Surface. setNativeObjectLocked( Surface. java: 682) at android.view.Surface. < init> ( Surface. java: 266) at com.google.ar.infrastructure. imagesubsystem. hardwarebufferstream. AndroidHardwareBufferStreamProvider. nativeContextGetSurface( Native Method) at dai.d(PG:113) at com.google.ar.infrastructure. nativedatasource. imagesubsystem. ImageSubsystemWrapper. setGlTextureOutput( PG: 50) at com.google.ar.core.Session. nativeResume( Native Method) at com.google.ar.core.Session. resume( Session. java: 1) at io.github.sceneview. ar. arcore. ARSession. resume( ArSession. kt: 73) at io.github.sceneview. ar. ARCore. resume( ARCore. kt: 113
I initialize all arsceneview objects and dispose properly in above given code.
I only use session object to take a screenshot with the above method given in onViewUpdatedMethod. Did I miss anything? Why it has this behaviour?
Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions