I have finally finished my AR scene, so I decided to link it to the main menu in a separate scene through SceneManager.LoadScene().
However, when I ran the app after building it, the app just froze, and when I tested it in Unity, there seems to be a memory leak when trying to load the scene.
The game itself can launch properly with no problem in either the android or the Unity game engine. And the load scene function works properly on other scenes, so I have to wonder as to why would it freeze when trying to load an EasyAR scene, and if there are any ways of solving it?
Thanks in advance.
This is what the scene looks like in the main menu:
And this is what the scene looks like in the actual AR scene: