hello , I have two scenes 1st is the menu and the 2nd is the AR scene using AR foundation and AR Core extension .
so when I try to get back from the AR scene back to the menu the app crash on android .
the AR scene contain :
1. AR Session Origin : with AR Plane Manager , AR Anchor Manager , AR Cloud Manager , AR Ray Cast Manager
2. AR Session : with AR Input Manager
3. AR Core Extensions
4. AR Cloud Controller
for the switching from the Menu to the AR Scene I use :
**LoaderUtility.Initialize();
SceneManager.LoadScene(1, LoadSceneMode.Single);**
for the switching from AR scene to the menu I use :
** SceneManager.LoadScene(1, LoadSceneMode.Single);
LoaderUtility.Deinitialize(); **
tried disabling all the AR component or destroying the gameObjects
tried disable all the plane detected and the plane manager and didn't work
searched a lot and didn't find an answer hope some one can help .
thanks
↧