Search Unity

Vuforia + IOS + Unity + Flutter ios App crash on app launch

Discussion in 'AR/VR (XR) Discussion' started by sandrush73, Jan 24, 2020.

  1. sandrush73

    sandrush73

    Joined:
    Feb 3, 2014
    Posts:
    1
    HI

    I am using Flutter as to build my application which includes unity with Vuforia features, when i try to build and run the application it crashes this error below, Thanks in advance

    i am trying to build an application using link for ios

    Version

    Unity -2020
    flutter- flutter_windows_v1.12.13+hotfix.5-stable
    Xcode Version 11.3 (11C29)
    Vuforia - vuforia-sdk-ios-8-6-7



    Code (CSharp):
    1. 2020-01-24 13:42:29.103546+0000 Runner[4613:1354411] Metal API Validation Enabled
    2. 2020-01-24 13:42:29.487133+0000 Runner[4613:1354618] flutter: Observatory listening on http://127.0.0.1:54828/HiSOjv6M6zw=/
    3. 2020-01-24 13:42:30.088892+0000 Runner[4613:1354411] Built from '2019.3/staging' branch, Version '2019.3.0f3 (6c9e2bfd6f81)', Build type 'Release', Scripting Backend 'il2cpp'
    4. -> applicationDidFinishLaunching()
    5.  
    6. Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
    7. Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated
    8.  
    9. -> applicationDidBecomeActive()
    10. GfxDevice: creating device client; threaded=1
    11. Initializing Metal device caps: Apple A13 GPU
    12. Initialize engine version: 2019.3.0f3 (6c9e2bfd6f81)
    13. 2020-01-24 13:42:30.546844+0000 Runner[4613:1354604] flutter: unity view created
    14. 2020-01-24 13:42:30.546980+0000 Runner[4613:1354604] flutter: ********************************************
    15. 2020-01-24 13:42:30.547029+0000 Runner[4613:1354604] flutter: Controller setup complete
    16. 2020-01-24 13:42:30.547063+0000 Runner[4613:1354604] flutter: ********************************************
    17. 2020-01-24 13:42:30.568988+0000 Runner[4613:1354411] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x11e625890>.
    18. UnloadTime: 3.741292 ms
    19. Compiled for iOS
    20. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    21. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    22. UnityEngine.Logger:Log(LogType, Object)
    23. UnityEngine.Debug:Log(Object)
    24. Vuforia.PlatformRuntimeInitialization:InitPlatform()
    25. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    26.  
    27. Initializing Vuforia Engine
    28. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    29. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    30. UnityEngine.Logger:Log(LogType, Object)
    31. UnityEngine.Debug:Log(Object)
    32. Vuforia.VuforiaRuntime:InitVuforia()
    33. Vuforia.VuforiaRuntime:VuforiaInitialization()
    34. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    35.  
    36. Vuforia Engine Version: 8.6.7
    37. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    38. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    39. UnityEngine.Logger:Log(LogType, Object)
    40. UnityEngine.Debug:Log(Object)
    41. Vuforia.VuforiaRuntime:LogVersions()
    42. Vuforia.VuforiaRuntime:InitVuforia()
    43. Vuforia.VuforiaRuntime:VuforiaInitialization()
    44. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    45.  
    46. Vuforia Engine Unity Extension Version: 8.6.7
    47. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    48. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    49. UnityEngine.Logger:Log(LogType, Object)
    50. UnityEngine.Debug:Log(Object)
    51. Vuforia.VuforiaRuntime:LogVersions()
    52. Vuforia.VuforiaRuntime:InitVuforia()
    53. Vuforia.VuforiaRuntime:VuforiaInitialization()
    54. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    55.  
    56. Unity Editor Version: 2019.3.0f3
    57. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    58. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    59. UnityEngine.Logger:Log(LogType, Object)
    60. UnityEngine.Debug:Log(Object)
    61. Vuforia.VuforiaRuntime:LogVersions()
    62. Vuforia.VuforiaRuntime:InitVuforia()
    63. Vuforia.VuforiaRuntime:VuforiaInitialization()
    64. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    65.  
    66. 2020-01-24 13:42:33.311844+0000 Runner[4613:1354411] User pre-granted access to the camera
    67. 2020-01-24 13:42:33.311967+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:33: Vuforia selected rendering API OpenGL ES 2.x
    68. 2020-01-24 13:42:33.312019+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:33: Vuforia SDK version 8.6.7
    69. 2020-01-24 13:42:33.312057+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:33: Vuforia SDK build 4728
    70. 2020-01-24 13:42:33.371274+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:33: Matched precache profile for Apple, iPhone12,3, iOS 13, 800.1
    71. 2020-01-24 13:42:34.376950+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:34: Vuforia Fusion: Detected and enabled use of ARKit
    72. 2020-01-24 13:42:34.377122+0000 Runner[4613:1354411] Rendering mode set to: OpenGL ES 2.0
    73. 2020-01-24 13:42:34.443953+0000 Runner[4613:1354411] Rendering mode set to: OpenGL ES 2.0
    74. Vuforia Engine initialization successful
    75. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    76. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    77. UnityEngine.Logger:Log(LogType, Object)
    78. UnityEngine.Debug:Log(Object)
    79. Vuforia.VuforiaRuntime:CheckInitStatus(InitError)
    80. Vuforia.VuforiaRuntime:InitInternal()
    81. Vuforia.VuforiaRuntime:InitVuforia()
    82. Vuforia.VuforiaRuntime:VuforiaInitialization()
    83. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    84.  
    85. 2020-01-24 13:42:34.494317+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:34: ObjectTracker: Successfully created dataset
    86. Successfully created data set.
    87. Found Trackable named Astronaut with id 1
    88. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    89. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    90. UnityEngine.Logger:Log(LogType, Object)
    91. UnityEngine.Debug:Log(Object)
    92. Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)
    93. Vuforia.DataSet:Load(String, StorageType)
    94. Vuforia.DataSet:Load(String)
    95. Vuforia.DatabaseLoadARController:LoadDatasets()
    96. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    97. Vuforia.VuforiaARController:Start()
    98. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    99. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    100. System.Reflection.MethodBase:Invoke(Object, Object[])
    101. System.Delegate:DynamicInvokeImpl(Object[])
    102. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    103. System.Delegate:DynamicInvoke(Object[])
    104. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    105. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    106. Vuforia.VuforiaBehaviour:Start()
    107. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    108.  
    109. Creating Image Target with values:
    110. ID:           2
    111. Name:         Drone
    112. Path:         Vuforia/VuforiaMars_Images.xml
    113. Size:         0.06985x0.12065
    114. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    115. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    116. UnityEngine.Logger:Log(LogType, Object)
    117. UnityEngine.Debug:Log(Object)
    118. Vuforia.StateManager:CreateImageTargetBehaviour(ImageTarget)
    119. Vuforia.StateManager:CreateMissingDataSetTrackableBehaviours(DataSet)
    120. Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)
    121. Vuforia.DataSet:Load(String, StorageType)
    122. Vuforia.DataSet:Load(String)
    123. Vuforia.DatabaseLoadARController:LoadDatasets()
    124. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    125. Vuforia.VuforiaARController:Start()
    126. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    127. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    128. System.Reflection.MethodBase:Invoke(Object, Object[])
    129. System.Delegate:DynamicInvokeImpl(Object[])
    130. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    131. System.Delegate:DynamicInvoke(Object[])
    132. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    133. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    134. Vuforia.VuforiaBehaviour:Start()
    135. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    136.  
    137. Creating Image Target with values:
    138. ID:           3
    139. Name:         Fissure
    140. Path:         Vuforia/VuforiaMars_Images.xml
    141. Size:         0.06985x0.12065
    142. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    143. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    144. UnityEngine.Logger:Log(LogType, Object)
    145. UnityEngine.Debug:Log(Object)
    146. Vuforia.StateManager:CreateImageTargetBehaviour(ImageTarget)
    147. Vuforia.StateManager:CreateMissingDataSetTrackableBehaviours(DataSet)
    148. Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)
    149. Vuforia.DataSet:Load(String, StorageType)
    150. Vuforia.DataSet:Load(String)
    151. Vuforia.DatabaseLoadARController:LoadDatasets()
    152. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    153. Vuforia.VuforiaARController:Start()
    154. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    155. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    156. System.Reflection.MethodBase:Invoke(Object, Object[])
    157. System.Delegate:DynamicInvokeImpl(Object[])
    158. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    159. System.Delegate:DynamicInvoke(Object[])
    160. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    161. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    162. Vuforia.VuforiaBehaviour:Start()
    163. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    164.  
    165. Creating Image Target with values:
    166. ID:           4
    167. Name:         Oxygen
    168. Path:         Vuforia/VuforiaMars_Images.xml
    169. Size:         0.06985x0.12065
    170. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    171. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    172. UnityEngine.Logger:Log(LogType, Object)
    173. UnityEngine.Debug:Log(Object)
    174. Vuforia.StateManager:CreateImageTargetBehaviour(ImageTarget)
    175. Vuforia.StateManager:CreateMissingDataSetTrackableBehaviours(DataSet)
    176. Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)
    177. Vuforia.DataSet:Load(String, StorageType)
    178. Vuforia.DataSet:Load(String)
    179. Vuforia.DatabaseLoadARController:LoadDatasets()
    180. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    181. Vuforia.VuforiaARController:Start()
    182. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    183. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    184. System.Reflection.MethodBase:Invoke(Object, Object[])
    185. System.Delegate:DynamicInvokeImpl(Object[])
    186. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    187. System.Delegate:DynamicInvoke(Object[])
    188. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    189. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    190. Vuforia.VuforiaBehaviour:Start()
    191. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    192.  
    193. Creating Multi Target with values:
    194. ID:           5
    195. Name:         MarsBox
    196. Path:         Vuforia/VuforiaMars_Images.xml
    197. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    198. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    199. UnityEngine.Logger:Log(LogType, Object)
    200. UnityEngine.Debug:Log(Object)
    201. Vuforia.StateManager:CreateMultiTargetBehaviour(MultiTarget)
    202. Vuforia.StateManager:CreateMissingDataSetTrackableBehaviours(DataSet)
    203. Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)
    204. Vuforia.DataSet:Load(String, StorageType)
    205. Vuforia.DataSet:Load(String)
    206. Vuforia.DatabaseLoadARController:LoadDatasets()
    207. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    208. Vuforia.VuforiaARController:Start()
    209. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    210. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    211. System.Reflection.MethodBase:Invoke(Object, Object[])
    212. System.Delegate:DynamicInvokeImpl(Object[])
    213. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    214. System.Delegate:DynamicInvoke(Object[])
    215. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    216. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    217. Vuforia.VuforiaBehaviour:Start()
    218. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    219.  
    220. Creating Cylinder Target with values:
    221. ID:           12
    222. Name:         RocketBooster
    223. Path:         Vuforia/VuforiaMars_Images.xml
    224. Side Length:  0.11498
    225. Top Diameter: 0.06739
    226. Bottom Diam.: 0.06739
    227. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    228. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    229. UnityEngine.Logger:Log(LogType, Object)
    230. UnityEngine.Debug:Log(Object)
    231. Vuforia.StateManager:CreateCylinderTargetBehaviour(CylinderTarget)
    232. Vuforia.StateManager:CreateMissingDataSetTrackableBehaviours(DataSet)
    233. Vuforia.StateManager:AssociateTrackableBehavioursForDataSet(DataSet)
    234. Vuforia.DataSet:Load(String, StorageType)
    235. Vuforia.DataSet:Load(String)
    236. Vuforia.DatabaseLoadARController:LoadDatasets()
    237. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    238. Vuforia.VuforiaARController:Start()
    239. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    240. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    241. System.Reflection.MethodBase:Invoke(Object, Object[])
    242. System.Delegate:DynamicInvokeImpl(Object[])
    243. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    244. System.Delegate:DynamicInvoke(Object[])
    245. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    246. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    247. Vuforia.VuforiaBehaviour:Start()
    248. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    249.  
    250. Start Vuforia Engine
    251. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    252. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    253. UnityEngine.Logger:Log(LogType, Object)
    254. UnityEngine.Debug:Log(Object)
    255. Vuforia.VuforiaARController:StartVuforia(Boolean)
    256. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    257. Vuforia.VuforiaARController:Start()
    258. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    259. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    260. System.Reflection.MethodBase:Invoke(Object, Object[])
    261. System.Delegate:DynamicInvokeImpl(Object[])
    262. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    263. System.Delegate:DynamicInvoke(Object[])
    264. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    265. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    266. Vuforia.VuforiaBehaviour:Start()
    267. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    268.  
    269. cameraDeviceStartCamera
    270. 2020-01-24 13:42:34.668347+0000 Runner[4613:1354411] INFO/AR(4613) 2020-01-24 13:42:34: Starting camera with profile for iPhone12,3, 800.1
    271. Using Legacy Rendering
    272. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    273. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    274. UnityEngine.Logger:LogFormat(LogType, String, Object[])
    275. UnityEngine.Debug:LogFormat(String, Object[])
    276. Vuforia.VideoTextureUpdaterFactory:CreateTextureUpdater(Camera, BackgroundPlaneBehaviour)
    277. Vuforia.VideoBackgroundBehaviour:Awake()
    278. UnityEngine.GameObject:Internal_AddComponentWithType(Type)
    279. UnityEngine.GameObject:AddComponent(Type)
    280. UnityEngine.GameObject:AddComponent()
    281. Vuforia.VuforiaARController:CreateVideoBackground()
    282. Vuforia.VuforiaARController:StartAfterInitializationCompleted()
    283. Vuforia.VuforiaARController:Start()
    284. System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
    285. System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
    286. System.Reflection.MethodBase:Invoke(Object, Object[])
    287. System.Delegate:DynamicInvokeImpl(Object[])
    288. System.MulticastDelegate:DynamicInvokeImpl(Object[])
    289. System.Delegate:DynamicInvoke(Object[])
    290. Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])
    291. Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)
    292. Vuforia.VuforiaBehaviour:Start()
    293. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    294.  
    295. 2020-01-24 13:42:34.672137+0000 Runner[4613:1354411] ERROR/AR(4613) 2020-01-24 13:42:34: VideoBackgroundConfig with screen size of zero received, skipping config step
    296. Trackable Astronaut NO_POSE -- UNKNOWN
    297. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    298. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    299. UnityEngine.Logger:LogFormat(LogType, String, Object[])
    300. UnityEngine.Debug:LogFormat(String, Object[])
    301. DefaultTrackableEventHandler:OnTrackableStatusChanged(StatusChangeResult)
    302. System.Action`1:Invoke(T)
    303. Vuforia.TrackableBehaviour:RegisterOnTrackableStatusChanged(Action`1)
    304. DefaultTrackableEventHandler:Start()
    305. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
    306.  
    307. (lldb)