Search Unity

il2cpp::vm::MetadataCache::Initialize() Error

Discussion in 'Editor & General Support' started by TRS_ZueStra, Mar 21, 2019.

  1. TRS_ZueStra

    TRS_ZueStra

    Joined:
    Mar 6, 2019
    Posts:
    9
    Hi together,

    we have some trouble with Unity and Xcode. We're trying to distribute an empty (Hello World) Unity project to our internal enterprise app store "Apps@Work" for testing purpose. If we're side loading our App in Xcode onto our iPads the app is running w/o any problems. As soon as we're deploying it on the A@W platform the app starts but crashes immediately. The error log shows:


    Date/Time: 2019-03-21 11:18:23.8816 +0100

    Launch Time: 2019-03-21 11:18:23.5261 +0100

    OS Version: iPhone OS 12.1.4 (16D57)

    Baseband Version: 7.32.00

    Report Version: 104



    Exception Type: EXC_BAD_ACCESS (SIGSEGV)

    Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000000000a4

    VM Region Info: 0xa4 is not in any region. Bytes before following region: 4300554076

    REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL

    UNUSED SPACE AT START

    --->

    __TEXT 0000000100554000-0000000101bf4000 [ 22.6M] r-x/r-x SM=COW ...app/aawtestv2



    Termination Signal: Segmentation fault: 11

    Termination Reason: Namespace SIGNAL, Code 0xb

    Terminating Process: exc handler [609]

    Triggered by Thread: 0

    Thread 0 name: Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    0 aawtestv2 0x000000010146b0f0 il2cpp::vm::MetadataCache::Initialize() + 13840624 (MetadataCache.cpp:174)
    1 aawtestv2 0x000000010146b0e4 il2cpp::vm::MetadataCache::Initialize() + 13840612 (MetadataCache.cpp:173)
    2 aawtestv2 0x0000000101464b0c il2cpp::vm::Runtime::Init(char const*, char const*) + 13814540 (Runtime.cpp:146)
    3 aawtestv2 0x000000010104eac8 InitializeIl2CppFromMain(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> > const&, int, char const**, bool) + 9530056 (MonoManager_Il2Cpp.cpp:257)
    4 aawtestv2 0x00000001012a62b8 UnityInitApplicationNoGraphics + 11985592 (LibEntryPoint.mm:183)
    5 aawtestv2 0x00000001007546c8 -[UnityAppController application:didFinishLaunchingWithOptions:] + 116424 (UnityAppController.mm:259)
    6 UIKitCore 0x00000001af6cfca0 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 412
    7 UIKitCore 0x00000001af6d1408 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3340
    8 UIKitCore 0x00000001af6d6e54 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1552
    9 UIKitCore 0x00000001aef7293c __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 784
    10 UIKitCore 0x00000001aef7b5bc +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 160
    11 UIKitCore 0x00000001aef725b8 -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 240
    12 UIKitCore 0x00000001aef72f58 -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 1076
    13 UIKitCore 0x00000001aef71058 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 772
    14 UIKitCore 0x00000001aef70d04 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 432
    15 UIKitCore 0x00000001aef75ec4 __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 220
    16 UIKitCore 0x00000001aef76e24 _performActionsWithDelayForTransitionContext + 112
    17 UIKitCore 0x00000001aef75d7c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 248
    18 UIKitCore 0x00000001aef7ac68 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 368
    19 UIKitCore 0x00000001af6d534c -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 540
    20 UIKitCore 0x00000001af2c0244 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 364
    21 FrontBoardServices 0x00000001852309d4 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 444
    22 FrontBoardServices 0x000000018523b79c __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 260
    23 FrontBoardServices 0x000000018523ae94 __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 64
    24 libdispatch.dylib 0x0000000182232484 _dispatch_client_callout + 16
    25 libdispatch.dylib 0x00000001821d5e10 _dispatch_block_invoke_direct$VARIANT$mp + 224
    26 FrontBoardServices 0x000000018526fa9c __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
    27 FrontBoardServices 0x000000018526f728 -[FBSSerialQueue _performNext] + 416
    28 FrontBoardServices 0x000000018526fd44 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
    29 CoreFoundation 0x000000018278a0e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
    30 CoreFoundation 0x000000018278a060 __CFRunLoopDoSource0 + 88
    31 CoreFoundation 0x0000000182789944 __CFRunLoopDoSources0 + 176
    32 CoreFoundation 0x0000000182784810 __CFRunLoopRun + 1040
    33 CoreFoundation 0x00000001827840e0 CFRunLoopRunSpecific + 436
    34 GraphicsServices 0x00000001849fd584 GSEventRunModal + 100
    35 UIKitCore 0x00000001af6d8c00 UIApplicationMain + 212
    36 aawtestv2 0x000000010073f8b0 main + 30896 (main.mm:41)
    37 libdyld.dylib 0x0000000182242bb4 start + 4


    Used Unity version: 2018.3.9f1
    Used Xcode version: 10.1

    Does anybody have a solution for that issue? If more information are needed please let me know.

    Thanks and cheers,
    Thiemo
     
    Last edited: Mar 21, 2019