konrad-thoc
konrad-thoc
Yeah sure, the problem is when navigating back to a Fragment/Activity where you previously loaded an XML view using ViewNode. Here is Initial App Activity, when we pressed the button...
No, but I'm sure there is a problem with ViewRenderable, because after replacing it and loading the 3D model, everything works fine. It is also easy to reproduce, you have...
no new information so far
@rawello are you able to tell if it can be fixed?
@rawello I am using XML views so I don't have such a method. What method should I use instead of that?
@rawello yeah it seems to be working with onDestroy method. Thanks!! ``` private fun destroySceneView() { try { val sceneView = binding.arSceneView sceneView.arCore.destroy() sceneView.session?.close() sceneView.scene.removeEntities(sceneView.scene.entities) sceneView.destroy() } catch (e: Exception)...
problem solved, thanks
> > Thx @barbeau. But enabling the geospatial api by generating an api key, enabling location services and adding other gradle dependencies seems a little excessive for just wanting to...