Search Unity

iPhone crash on scene update

Discussion in 'iOS and tvOS' started by ratuspro, Feb 9, 2021.

  1. ratuspro

    ratuspro

    Joined:
    Apr 5, 2015
    Posts:
    17
    Hello all,

    I'm experience some crashes with my build of iOS.
    The game on Android works perfectly fine but in iOS it crashes when moving from one scene to the next.
    At the startup of the new scene, we call the playerprefs, and I suspect the problem might be related to that.

    Date/Time: 2021-02-09 12:00:15.7168 +0000
    Launch Time: 2021-02-09 12:00:01.7038 +0000
    OS Version: iPhone OS 14.3 (18C66)
    Release Type: User
    Baseband Version: 5.01.01
    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, <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<com.GameDevTecnico.Alice>:3715 exhausted real (wall clock) time allowance of 10.00 seconds | ProcessVisibility: Background | ProcessState: Running | WatchdogEvent: scene-update | WatchdogVisibility: Background | WatchdogCPUStatistics: ( | "Elapsed total CPU time (seconds): 19.850 (user 19.850, system 0.000), 99% CPU", | "Elapsed application CPU time (seconds): 9.450, 47% CPU" | ) reportType:CrashLog maxTerminationResistance:Interactive>
    Triggered by Thread: 0

    Thread 0 name: Dispatch queue: com.apple.main-thread
    Thread 0 Crashed:
    0 libsystem_kernel.dylib 0x00000001bd299680 semaphore_wait_trap + 8
    1 libdispatch.dylib 0x0000000190fc118c _dispatch_sema4_wait$VARIANT$mp + 24
    2 libdispatch.dylib 0x0000000190fc17e0 _dispatch_semaphore_wait_slow + 136
    3 UnityFramework 0x000000010688d778 0x102000000 + 76076920
    4 UnityFramework 0x000000010607a9a8 0x102000000 + 67611048
    5 UnityFramework 0x000000010607a8d8 0x102000000 + 67610840
    6 UnityFramework 0x000000010601a420 0x102000000 + 67216416
    7 UnityFramework 0x000000010601a4b4 0x102000000 + 67216564
    8 UnityFramework 0x00000001064891d0 0x102000000 + 71864784
    9 UnityFramework 0x0000000106488fb8 0x102000000 + 71864248
    10 UnityFramework 0x0000000106488f0c 0x102000000 + 71864076
    11 UnityFramework 0x000000010647022c 0x102000000 + 71762476
    12 UnityFramework 0x0000000106470b24 0x102000000 + 71764772
    13 UnityFramework 0x00000001064710d8 0x102000000 + 71766232
    14 UnityFramework 0x0000000106188a78 0x102000000 + 68717176
    15 UnityFramework 0x0000000106000f0c 0x102000000 + 67112716
    16 UnityFramework 0x0000000106000d84 0x102000000 + 67112324
    17 UnityFramework 0x0000000105ff7f88 0x102000000 + 67075976
    18 UnityFramework 0x0000000105ff7ec0 0x102000000 + 67075776
    19 UnityFramework 0x00000001061866b4 0x102000000 + 68708020
    20 UnityFramework 0x0000000106186598 0x102000000 + 68707736
    21 UnityFramework 0x00000001067f2138 0x102000000 + 75440440
    22 UnityFramework 0x000000010202a59c 0x102000000 + 173468
    23 UnityFramework 0x0000000102012594 0x102000000 + 75156
    24 UnityFramework 0x000000010202028c 0x102000000 + 131724
    25 Foundation 0x00000001926c1800 __NSFireDelayedPerform + 412
    26 CoreFoundation 0x00000001913663e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    27 CoreFoundation 0x0000000191365fe4 __CFRunLoopDoTimer + 1004
    28 CoreFoundation 0x00000001913654c4 __CFRunLoopDoTimers + 324
    29 CoreFoundation 0x000000019135f850 __CFRunLoopRun + 1912
    30 CoreFoundation 0x000000019135eba0 CFRunLoopRunSpecific + 572
    31 GraphicsServices 0x00000001a809c598 GSEventRunModal + 160
    32 UIKitCore 0x0000000193c4e3d8 -[UIApplication _run] + 1052
    33 UIKitCore 0x0000000193c53958 UIApplicationMain + 164
    34 UnityFramework 0x0000000102029c2c 0x102000000 + 171052
    35 Alice 0x00000001004d3de4 0x1004cc000 + 32228
    36 libdyld.dylib 0x000000019103d568 start + 4
    I'm not experienced with iOS development, so I would appreciatte any help regarding this issue!
    Thanks in advance
     
  2. aromana

    aromana

    Joined:
    Nov 11, 2018
    Posts:
    137
    Did you ever resolve this issue? I'm running into an extremely similar stacktrace here:

    https://forum.unity.com/threads/uni...-at-random-times-stacktrace-included.1240792/