libAR: [error] ARController::androidVideoPushInit: ARVideoSource is either closed or already running.
E/CameraEventListenerUnityImpl: arwAndroidVideoPushInit failed
and the camera freeze.
How can I get the camera back to work when I get back to the application?
If the issue is already solved in this repo, could someone please point me to the part of code that is responsible for this? I am using some mixed Unity .cs from ARUnity6 and ARUnityX and I can't afford the time to replace the whole project with ARUnityX files now. Thanks.
I suppose this is an old issue, see this post.
I got
Unable to start AR tracking. Please check that you have a camera connected.
error when I press Home button then go back to the apphttps://github.com/artoolkitx/arunityx/blob/220f00650ee8579877ca791cfa3a91c9d2d5e763/Source/Package/Assets/artoolkitX-Unity/Scripts/ARController.cs#L442-L461 I worked around it by commenting the
StartAR()
andStopAR()
calls which works in iOS. However in Android, I got error messages:and the camera freeze.
How can I get the camera back to work when I get back to the application?
If the issue is already solved in this repo, could someone please point me to the part of code that is responsible for this? I am using some mixed Unity .cs from ARUnity6 and ARUnityX and I can't afford the time to replace the whole project with ARUnityX files now. Thanks.