SceneView / sceneform-reactnative

Sceneform React Native AR Component using ARCore and Google Filament as 3D engine. This the Sceneform Maintained Component for React Native
MIT License
52 stars 10 forks source link

Crash on hot reload. #5

Closed doranteseduardo closed 2 years ago

doranteseduardo commented 2 years ago

I open an issue so I keep tracking of this. There's an issue triggered when hot-reloading occurs.

The crash happens as the arFragment is being inflated on hot-reloading but it already was when the component is loaded when mounted.

Preventing the initialisation method from being triggered again in the same session would be enough and solve the problem.