Open StigOlavsen opened 5 years ago
Did you ever find a solution to this issue? I'm currently experiencing it.
Did you ever find a solution to this issue? I'm currently experiencing it.
The issue still happens with latest versions of AR Core and Unity.
One workaround is to build the Unity project as a framework and embed it in a native application, instead of building an application from the Unity project.
We are trying to use the iOS ARCore plugin for a Unity project, NOT using the ARCore Unity SDK, but instead using the iOS SDK through a native plugin in Unity.
The project was working fine until we upgraded our test devices from iOS 12.4 to iOS 13.1, after which our application no longer starts. It does not even go as far as to show the Unity splash screen.
After some digging, we found that this happens even in an empty project, as long as ARCore is included. The stacktrace also points towards ARCore being the culprit, as it mentions
GARLogger
, but also what I think are GTM and Protobuf symbols so perhaps the problem is upsteam from ARCore.For some reason, it does work when running the project on device from xcode, but once installed it won't run when started from the device.
I have tested this with Unity 2019.2.9f1, 2019.3.0b6 and 2019.3.0b7. The problem does not appear when building with 2019.2, only the 2019.3 versions.
Also, I have tested with iOS 12.4, 13.1 and 13.2. The problem does not appear in iOS 12.4, but does in 13.1. and 13.2.
Any insight on this issue would be greatly appreciated.
Steps to reproduce:
Alternatively, instead of running from xcode, the app can be archived and the ipa installed to device. When running from xcode, the app will for some reason start normally, but when terminated and restarted will not start again. If an archived version is installed, it will never start.
Expected result:
App starts normally.
Actual result:
Black screen, and ultimately the app times out and crashes
ARCoreDependencies.xml
```xmlCrash log
``` Incident Identifier: 5E219210-06C2-4B3A-B3B9-23E4FD386C23 CrashReporter Key: 2bd906da0cea555b5708cca380cb728a8802dc86 Hardware Model: iPhone11,6 Process: bugarcorez [2110] Path: /private/var/containers/Bundle/Application/8AC2DDEF-1068-4129-B261-93325A40AD58/bugarcorez.app/bugarcorez Identifier: com.xxxxx.bugarcorez Version: 0 (1.0) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.xxxxx.bugarcorez [1518] Date/Time: 2019-10-17 21:39:35.3390 +0200 Launch Time: 2019-10-17 21:39:15.2277 +0200 OS Version: iPhone OS 13.1.2 (17A861) Release Type: User Baseband Version: 2.01.08 Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: Namespace SPRINGBOARD, Code 0x8badf00d Termination Description: SPRINGBOARD, process-launch watchdog transgression: application