Steps to reproduce:
- Open the attached project
- Build and run the project on iOS
- Observe the crash
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a14
Reproduced with: iPhone 7
Could not reproduce with: iPhone 12 Pro (iOS 14.2.1), iPhone 13 Pro (iOS 15.0.0), iPhone 6S (iOS 13.3.1)
Backtrace for these versions:
crash-test was compiled with optimization - stepping may behave oddly; variables may not be available.
- thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000000000000
frame #1: 0x0000000105729e80 UnityFramework{{[UnityAppController(Rendering) callbackFramerateChange:] + 196 frame #2: 0x0000000105729848 UnityFramework}}[UnityAppController(Rendering) createDisplayLink] + 104
frame #3: 0x00000001057240a8 UnityFramework{{-[UnityAppController startUnity:] + 140 frame #4: 0x0000000183b36a18 Foundation}}__NSFireDelayedPerform + 420
frame #5: 0x0000000182481298 CoreFoundation{{_CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION_ + 28 frame #6: 0x000000018240ac98 CoreFoundation}}__CFRunLoopDoTimer + 1016
frame #7: 0x0000000182405930 CoreFoundation{{_CFRunLoopDoTimers + 324 frame #8: 0x00000001823e5804 CoreFoundation}}_CFRunLoopRun + 1948
frame #9: 0x00000001823f86dc CoreFoundation{{CFRunLoopRunSpecific + 572 frame #10: 0x00000001a286e9a0 GraphicsServices}}GSEventRunModal + 160
frame #11: 0x0000000184c0c2cc UIKitCore{{-[UIApplication _run] + 1080 frame #12: 0x000000018499e6cc UIKitCore}}UIApplicationMain + 2144
frame #13: 0x000000010572956c UnityFramework`-[UnityFramework runUIApplicationMainWithArgc:argv:] + 108
- frame #14: 0x0000000104073e1c crash-test{{main(argc=<unavailable>, argv=<unavailable>) at main.mm:26:9 [opt] frame #15: 0x00000001041c42d0 dyld}}start + 444
Backtrace of 2022.1.1f1 version:
crash-test was compiled with optimization - stepping may behave oddly; variables may not be available.
- thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00000001bbc67a58 libsystem_kernel.dylib{{__pthread_kill + 8 frame #1: 0x00000001dbc8f88c libsystem_pthread.dylib}}pthread_kill + 212
frame #2: 0x000000018cd29e5c libsystem_c.dylib{{abort + 120 frame #3: 0x0000000199ab2e1c libc++abi.dylib}}abort_message + 128
frame #4: 0x0000000199aa4bec libc++abi.dylib{{demangling_terminate_handler() + 296 frame #5: 0x00000001999c2fa8 libobjc.A.dylib}}_objc_terminate() + 140
frame #6: 0x0000000199ab22cc libc+abi.dylib{{std::__terminate(void ()) + 16 frame #7: 0x0000000199ab2274 libc+abi.dylib}}std::terminate() + 60
frame #8: 0x00000001999cf67c libobjc.A.dylib{{objc_terminate + 12 frame #9: 0x000000018213a2b4 libdispatch.dylib}}_dispatch_client_callout + 36
frame #10: 0x00000001820dc800 libdispatch.dylib{{_dispatch_block_invoke_direct$VARIANT$mp + 224 frame #11: 0x0000000193396d7c FrontBoardServices}}FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 40
frame #12: 0x0000000193396300 FrontBoardServices{{[FBSSerialQueue _targetQueue_performNextIfPossible] + 176 frame #13: 0x000000019339a3f0 FrontBoardServices}}[FBSSerialQueue _performNextFromRunLoopSource] + 24
frame #14: 0x000000018248d6d8 CoreFoundation{{_CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 24 frame #15: 0x000000018249d5d4 CoreFoundation}}__CFRunLoopDoSource0 + 204
frame #16: 0x00000001823dff38 CoreFoundation{{_CFRunLoopDoSources0 + 256 frame #17: 0x00000001823e5368 CoreFoundation}}_CFRunLoopRun + 768
frame #18: 0x00000001823f86dc CoreFoundation{{CFRunLoopRunSpecific + 572 frame #19: 0x00000001a286e9a0 GraphicsServices}}GSEventRunModal + 160
frame #20: 0x0000000184c0c2cc UIKitCore{{-[UIApplication _run] + 1080 frame #21: 0x000000018499e6cc UIKitCore}}UIApplicationMain + 2144
frame #22: 0x00000001053630d8 UnityFramework`-[UnityFramework runUIApplicationMainWithArgc:argv:] + 108
- frame #23: 0x0000000102677e1c crash-test{{main(argc=<unavailable>, argv=<unavailable>) at main.mm:26:9 [opt] frame #24: 0x0000000102a402d0 dyld}}start + 444