Hello, I am using Unity 2019.3b7, ARFoundation, ARKit. The produced build of the iOS is built as library which is still in beta. I am on Catalina, Xcode 11, iOS 13.1. My project is AR project on unity side. When I try to shutdown the AR experience, I basically make a call to the Unityframework to unloadapplication and I get following crash. ArgumentNullException: Value cannot be null. Parameter name: _unity_self at UnityEngine.IntegratedSubsystem.Stop () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.ARFoundation.ARInputManager.OnDisable () [0x00000] in <00000000000000000000000000000000>:0 Anyone have any idea what is causing this? Thank you in advance!
Hi @bambamyi, I am facing a similar issue while closing our AR app for Android made with Unity 2019.2.0 and AR Foundation 2.1.4. I see these exact logs in the console. Also, when I quit the app and see this error in the logs, and when I open the app again, it crashes at the start. If I start the app after the crash, it starts normally. It seems like a bug with AR Foundation 2.1.4. Did you manage to solve your issue?
I have the same issue when using the quitApplication method on iOS with the code 0. For information I'm using AR Foundation 2.2.0 Preview 6.