Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AdjustArgumentsToMatchMethod cpp crash.. Only one of it's kind on the interwebs?

Discussion in 'iOS and tvOS' started by Iamdain, Apr 19, 2016.

  1. Iamdain

    Iamdain

    Joined:
    Feb 3, 2010
    Posts:
    90
    Having a fairly frequent crash on live / beta devices. Infrequent enough that we can't repro unfortunately.

    This is the trace of the crashed thread as logged through HockeyApp, more notes below:

    Thread 0 Crashed:
    0 skater 0x000000010163ac64 ScriptingInvocation::AdjustArgumentsToMatchMethod() (ScriptingInvocation.cpp:164)
    1 skater 0x000000010163ac60 ScriptingInvocation::Invoke(ScriptingException**, bool) (ScriptingInvocation.cpp:154)
    2 skater 0x000000010163aac4 bool ScriptingInvocation::Invoke<bool>(ScriptingException**) (ScriptingInvocation.cpp:84)
    3 skater 0x00000001016306c0 Coroutine::InvokeMoveNext(ScriptingException**) (Coroutine.cpp:201)
    4 skater 0x0000000101630410 Coroutine::Run() (Coroutine.cpp:226)
    5 skater 0x000000010156fe4c DelayedCallManager::Update(int) (CallDelayed.cpp:164)
    6 skater 0x00000001015f9668 PlayerLoop(bool, bool, IHookEvent*) (Player.cpp:1954)
    7 skater 0x00000001013ea468 UnityPlayerLoop (LibEntryPoint.mm:253)
    8 skater 0x00000001000c231c UnityRepaintImpl(bool) (UnityAppController+Rendering.mm:228)
    9 skater 0x00000001000c1c80 __51-[UnityAppController(Rendering) repaintDisplayLink]_block_invoke (UnityAppController+Rendering.mm:55)
    10 libdispatch.dylib 0x0000000181e854bc _dispatch_call_block_and_release + 20
    11 libdispatch.dylib 0x0000000181e8547c _dispatch_client_callout + 12
    12 libdispatch.dylib 0x0000000181e8ab84 _dispatch_main_queue_callback_4CF + 1840
    13 CoreFoundation 0x00000001823f0dd8 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
    14 CoreFoundation 0x00000001823eec40 __CFRunLoopRun + 1624
    15 CoreFoundation 0x0000000182318d10 CFRunLoopRunSpecific + 380
    16 GraphicsServices 0x0000000183c00088 GSEventRunModal + 176
    17 UIKit 0x00000001875edf70 UIApplicationMain + 200
    18 skater 0x00000001000be5b4 main (main.mm:37)
    19 ??? 0x0000000181eb68b8 0x0 + 0

    Full report here http://pastebin.com/AQvhdFf9

    I'm note sure how to extract any useful info out of this, to my eyes it seems to be a normal script invocation from the main thread which passes some incorrectly formed arguments to the target method.

    Can anyone provide ANY thoughts on how to further resolve the source of this?

    Given that this is all native side I guess this could be a Unity bug but not sure what to do given can't submit a bug report repro case...

    I'm guessing unrelated in underlying cause but the same error is thrown here http://forum.unity3d.com/threads/4-3-editor-crash-changing-script.229186/
     
    Last edited: Apr 19, 2016