Search Unity

IOS Crash SceneWasUnloaded(int) + SceneManager.cpp:696

Discussion in 'iOS and tvOS' started by Eldirfar, Sep 6, 2018.

  1. Eldirfar

    Eldirfar

    Joined:
    Feb 9, 2014
    Posts:
    65
    I have strange crash that impact some users. I have crash report log form device but haven't found solid reproduction. It just occurs few time per day for some users. Build in latest version of Unity LTS 2017.4.10f1 and XCode 9.4.1. Any one faced similar problem/stacktrace?

    Code (CSharp):
    1. Incident Identifier: D16739E0-A553-4FEE-9955-B3ACBC6EFEC4
    2. CrashReporter Key:   cc9d2cc89d8fc9c47106ec42873ac9006300c314
    3. Hardware Model:      iPhone8,1
    4. Process:             [35717]
    5. Code Type:           ARM-64 (Native)
    6. Role:                Foreground
    7. Parent Process:      launchd [1]
    8. Coalition:           [6697]
    9.  
    10.  
    11. Date/Time:           2018-09-05 19:13:16.6160 +0200
    12. Launch Time:         2018-09-05 18:23:39.6166 +0200
    13. OS Version:          iPhone OS 10.3.3 (14G60)
    14. Report Version:      104
    15.  
    16. Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    17. Exception Codes: 0x0000000000000001, 0x0000000100032bf0
    18. Termination Signal: Trace/BPT trap: 5
    19. Termination Reason: Namespace SIGNAL, Code 0x5
    20. Terminating Process: exc handler [0]
    21. Triggered by Thread:  0
    22.  
    23. Filtered syslog:
    24. None found
    25.  
    26. Thread 0 name:  Dispatch queue: com.apple.main-thread
    27. Thread 0 Crashed:
    28. 0   GAME                         0x0000000100032bf0 CrashedCheckBelowForHintsWhy() + 93168 (CrashReporter.mm:92)
    29. 1   GAME                         0x0000000100164380 RuntimeInvoker_Void_t1185182177_RuntimeObject_RuntimeObject(void (*)(), MethodInfo const*, void*, void**) + 1344384 (Il2CppInvokerTable.cpp:43309)
    30. 2   GAME                         0x0000000100b81990 il2cpp::vm::Runtime::CallUnhandledExceptionDelegate(Il2CppDomain*, Il2CppDelegate*, Il2CppException*) + 11950480 (Runtime.cpp:462)
    31. 3   GAME                         0x0000000100b81910 il2cpp::vm::Runtime::UnhandledException(Il2CppException*) + 11950352 (Runtime.cpp:563)
    32. 4   GAME                         0x000000010054ce38 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 5443128 (ScriptingInvocation.cpp:344)
    33. 5   GAME                         0x00000001004aedc0 SceneWasUnloaded(int) + 4795840 (SceneManager.cpp:696)
    34. 6   GAME                         0x00000001004afb34 CallbackArray1<int const>::Invoke(int) + 4799284 (CallbackArray.h:322)
    35. 7   GAME                         0x00000001004afa18 RuntimeSceneManager::UnloadSceneInternal(UnityScene*) + 4799000 (SceneManager.cpp:194)
    36. 8   GAME                         0x00000001004ad400 UnloadSceneOperation::IntegrateMainThread() + 4789248 (UnloadSceneOperation.cpp:26)
    37. 9   GAME                         0x00000001004acc2c PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int) + 4787244 (PreloadManager.cpp:456)
    38. 10  GAME                         0x00000001004ad2c8 PreloadManager::UpdatePreloading() + 4788936 (PreloadManager.cpp:591)
    39. 11  GAME                         0x0000000100482ef0 PlayerLoop() + 4615920 (PlayerLoop.cpp:99)
    40. 12  GAME                         0x00000001002a8b88 UnityPlayerLoopImpl(bool) + 2673544 (LibEntryPoint.mm:243)
    41. 13  GAME                         0x0000000100028fac UnityRepaint + 53164 (UnityAppController+Rendering.mm:270)
    42. 14  GAME                         0x0000000100028e98 -[UnityAppController(Rendering) repaintDisplayLink] + 52888 (UnityAppController+Rendering.mm:77)
    43. 15  QuartzCore                        0x000000018689d5dc CA::Display::DisplayLinkItem::dispatch+ 42460 (unsigned long long) + 44
    44. 16  QuartzCore                        0x000000018689d48c CA::Display::DisplayLink::dispatch_items+ 42124 (unsigned long long, unsigned long long, unsigned long long) + 436
    45. 17  IOKit                             0x00000001838f7b9c IODispatchCalloutFromCFMessage + 372
    46. 18  CoreFoundation                    0x0000000183621960 __CFMachPortPerform + 180
    47. 19  CoreFoundation                    0x0000000183639ae4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
    48. 20  CoreFoundation                    0x0000000183639284 __CFRunLoopDoSource1 + 436
    49. 21  CoreFoundation                    0x0000000183636d98 __CFRunLoopRun + 1752
    50. 22  CoreFoundation                    0x0000000183566da4 CFRunLoopRunSpecific + 424
    51. 23  GraphicsServices                  0x0000000184fd1074 GSEventRunModal + 100
    52. 24  UIKit                             0x0000000189821c9c UIApplicationMain + 208
    53. 25  GAME                         0x00000001000216e0 main + 22240 (main.mm:33)
    54. 26  libdyld.dylib                     0x000000018257559c start + 4
     

    Attached Files: