- Home /
App crashes after launching scene with AR Core for second time.
In my app i use AR core for image tracking.After image is detected it find his name and then open scene with following name.There is Back to camera button in second scene and when i press it the whole app crashes.
Comment
Answer by zyppi1 · Jan 02 at 03:16 PM
Ok I found solution.The problem is that AR core componentd doesnt destroy themselves they move to the next scene and when you get back t othe first one it loads again so now you have 2 same components in scene and app will crash. Solution is to define ar core components in first scene that will never be opened again and move to the scene with functions.