Lots of crashes on end user devices

Hi,

We are seeing lots of crashes on our end user devices. Our current release was built with 5.3.1.

Any ideas what could be causing this?

Thanks.

And this is another crash:

1 Like

Hi @AlienMe ,
Do you have any repro steps as to what’s happening or a more fully fleshed out stack trace? Could you file a bug report with a small repro project?
Thanks,
Chris

Hi @christophergoy ,

This is not happening in our development environment… this is happening to about 5% of our live users. We are getting these crash reports from Crashalytics.

These are full stack traces.

and …

Hey @AlienMe ,
There is a fix for the first crash coming in 5.3.2p4. Can you file a bug and repro for the second crash?
Thanks,
Chris

Hey @christophergoy , that’s cool that one of the crashes will be fixed in the next patch… will hold the next app update for now.

About the second crash… I can’t reproduce it in house… we are just getting the reports from the field… I’ll let you know if I get any more info.

Thanks!

Is this supposed to be fixed in Unity 5.3.3f1? We’re still seeing the following two crashes related to Repaint and sending the app to the background on iOS.

Exception Type:  SIGABRT
Exception Codes: #0 at 0x21dd5c84
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unexpected start state'

Last Exception Backtrace:
0   CoreFoundation                       0x2213e2eb __exceptionPreprocess + 127
1   libobjc.A.dylib                      0x2190adff objc_exception_throw + 36
2   CoreFoundation                       0x2213e1c1 +[NSException raise:format:arguments:] + 102
3   Foundation                           0x22914d97 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 84
4   UIKit                                0x2658aaf3 _prepareForCAFlush + 244
5   UIKit                                0x2658f777 _beforeCACommitHandler + 8
6   CoreFoundation                       0x22100b21 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
7   CoreFoundation                       0x220fee17 __CFRunLoopDoObservers + 280
8   CoreFoundation                       0x22051bd9 CFRunLoopRunSpecific + 546
9   CoreFoundation                       0x220519ad CFRunLoopRunInMode + 106
10  agriumJourney2050                    0x000f9d03 UnityRepaint (UnityAppController+Rendering.mm:248)
11  agriumJourney2050                    0x0010b18d -[UnityAppController applicationWillResignActive:] (UnityAppController.mm:314)
12  UIKit                                0x2633ffb5 -[UIApplication _deactivateForReason:notify:] + 698
13  UIKit                                0x26574ea1 __61-[UIApplication _sceneSettingsPreLifecycleEventDiffInspector]_block_invoke + 102
14  FrontBoardServices                   0x234425db __52-[FBSSettingsDiffInspector inspectDiff:withContext:]_block_invoke27 + 156
15  Foundation                           0x229243f3 __NSIndexSetEnumerate + 428
16  Foundation                           0x228af627 -[NSIndexSet enumerateIndexesWithOptions:usingBlock:] + 64
17  BaseBoard                            0x233dbb03 -[BSSettingsDiff inspectChangesWithBlock:] + 100
18  FrontBoardServices                   0x2343db1b -[FBSSettingsDiff inspectOtherChangesWithBlock:] + 92
19  FrontBoardServices                   0x23442447 -[FBSSettingsDiffInspector inspectDiff:withContext:] + 308
20  UIKit                                0x26576103 __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 100
21  UIKit                                0x26575e11 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 642
22  FrontBoardServices                   0x2343499d __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 38
23  FrontBoardServices                   0x2344fc75 -[FBSSerialQueue _performNext] + 230
24  FrontBoardServices                   0x23438171 -[FBSWorkspace synchronizeSystemAnimationFencesWithCleanUpBlock:] + 1330
25  UIKit                                0x26573a05 -[UIApplication _synchronizeSystemAnimationFencesWithSpinCleanUpBlock:] + 430
26  UIKit                                0x265c2f85 __realPreCommitHandler_block_invoke + 398
27  QuartzCore                           0x243e1e8b CA::Transaction::Fence::run_callbacks() const + 20
28  QuartzCore                           0x243a8691 CA::Context::commit_transaction(CA::Transaction*) + 638
29  QuartzCore                           0x243a8233 CA::Transaction::commit() + 612
30  QuartzCore                           0x243a19ef CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 136
31  CoreFoundation                       0x22100b21 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
32  CoreFoundation                       0x220fee17 __CFRunLoopDoObservers + 280
33  CoreFoundation                       0x220ff255 __CFRunLoopRun + 970
34  CoreFoundation                       0x22051bb9 CFRunLoopRunSpecific + 514
35  CoreFoundation                       0x220519ad CFRunLoopRunInMode + 106
36  GraphicsServices                     0x232cbaf9 GSEventRunModal + 158
37  UIKit                                0x2633dfb5 UIApplicationMain + 142
38  agriumJourney2050                    0x000f252b main (main.mm:32)
39  ???                                  0x21d04873 0x0 + 0

Thread 0 Crashed:
0   libsystem_kernel.dylib               0x21dd5c84 __pthread_kill + 8
1   libsystem_pthread.dylib              0x21e77b47 pthread_kill + 60
2   libsystem_c.dylib                    0x21d6c0c5 abort + 106
3   agriumJourney2050                    0x01235be9 uncaught_exception_handler + 22
4   CoreFoundation                       0x2213e629 __handleUncaughtException + 642
5   libobjc.A.dylib                      0x2190b087 _objc_terminate() + 172
6   agriumJourney2050                    0x012284c3 BITCrashUncaughtCXXTerminateHandler() (BITCrashCXXExceptionHandler.mm:178)
7   libc++abi.dylib                      0x218fce17 std::__terminate(void (*)()) + 76
8   libc++abi.dylib                      0x218fc8f7 __cxa_rethrow + 100
9   libobjc.A.dylib                      0x2190af47 objc_exception_rethrow + 40
10  CoreFoundation                       0x22051c3f CFRunLoopRunSpecific + 648
11  CoreFoundation                       0x220519ad CFRunLoopRunInMode + 106
12  GraphicsServices                     0x232cbaf9 GSEventRunModal + 158
13  UIKit                                0x2633dfb5 UIApplicationMain + 142
14  agriumJourney2050                    0x000f252b main (main.mm:32)
15  ???                                  0x21d04873 0x0 + 0

AND

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'can't start iterating in the middle of an iteration'

Last Exception Backtrace:
0   CoreFoundation                       0x20b9e2eb __exceptionPreprocess + 127
1   libobjc.A.dylib                      0x2036adff objc_exception_throw + 36
2   CoreFoundation                       0x20b9e1c1 +[NSException raise:format:arguments:] + 102
3   Foundation                           0x21374d3b -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 88
4   FrontBoardServices                   0x21ea23b7 -[FBSSettingsDiffInspector inspectDiff:withContext:] + 164
5   UIKit                                0x24fd6103 __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 100
6   UIKit                                0x24fd5e11 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 642
7   FrontBoardServices                   0x21e9499d __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 38
8   FrontBoardServices                   0x21eafc75 -[FBSSerialQueue _performNext] + 230
9   FrontBoardServices                   0x21e98171 -[FBSWorkspace synchronizeSystemAnimationFencesWithCleanUpBlock:] + 1330
10  UIKit                                0x24fd3a05 -[UIApplication _synchronizeSystemAnimationFencesWithSpinCleanUpBlock:] + 430
11  UIKit                                0x25022f85 __realPreCommitHandler_block_invoke + 398
12  QuartzCore                           0x22e41e8b CA::Transaction::Fence::run_callbacks() const + 20
13  QuartzCore                           0x22e08691 CA::Context::commit_transaction(CA::Transaction*) + 638
14  QuartzCore                           0x22e08233 CA::Transaction::commit() + 612
15  QuartzCore                           0x22e019ef CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 136
16  CoreFoundation                       0x20b60b21 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
17  CoreFoundation                       0x20b5ee17 __CFRunLoopDoObservers + 280
18  CoreFoundation                       0x20ab1bd9 CFRunLoopRunSpecific + 546
19  CoreFoundation                       0x20ab19ad CFRunLoopRunInMode + 106
20  agriumJourney2050                    0x00099d03 UnityRepaint (UnityAppController+Rendering.mm:248)
21  agriumJourney2050                    0x000ab18d -[UnityAppController applicationWillResignActive:] (UnityAppController.mm:314)
22  UIKit                                0x24d9ffb5 -[UIApplication _deactivateForReason:notify:] + 698
23  UIKit                                0x24fd4ea1 __61-[UIApplication _sceneSettingsPreLifecycleEventDiffInspector]_block_invoke + 102
24  FrontBoardServices                   0x21ea25db __52-[FBSSettingsDiffInspector inspectDiff:withContext:]_block_invoke27 + 156
25  Foundation                           0x213843f3 __NSIndexSetEnumerate + 428
26  Foundation                           0x2130f627 -[NSIndexSet enumerateIndexesWithOptions:usingBlock:] + 64
27  BaseBoard                            0x21e3bb03 -[BSSettingsDiff inspectChangesWithBlock:] + 100
28  FrontBoardServices                   0x21e9db1b -[FBSSettingsDiff inspectOtherChangesWithBlock:] + 92
29  FrontBoardServices                   0x21ea2447 -[FBSSettingsDiffInspector inspectDiff:withContext:] + 308
30  UIKit                                0x24fd6103 __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 100
31  UIKit                                0x24fd5e11 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 642
32  FrontBoardServices                   0x21e9499d __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 38
33  FrontBoardServices                   0x21eafc75 -[FBSSerialQueue _performNext] + 230
34  FrontBoardServices                   0x21eaff61 -[FBSSerialQueue _performNextFromRunLoopSource] + 42
35  CoreFoundation                       0x20b61257 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
36  CoreFoundation                       0x20b60e47 __CFRunLoopDoSources0 + 452
37  CoreFoundation                       0x20b5f1af __CFRunLoopRun + 804
38  CoreFoundation                       0x20ab1bb9 CFRunLoopRunSpecific + 514
39  CoreFoundation                       0x20ab19ad CFRunLoopRunInMode + 106
40  GraphicsServices                     0x21d2baf9 GSEventRunModal + 158
41  UIKit                                0x24d9dfb5 UIApplicationMain + 142
42  agriumJourney2050                    0x0009252b main (main.mm:32)
43  ???                                  0x20764873 0x0 + 0

Thread 0 Crashed:
0   libsystem_kernel.dylib               0x20835c84 __pthread_kill + 8
1   libsystem_pthread.dylib              0x208d7b47 pthread_kill + 60
2   libsystem_c.dylib                    0x207cc0c5 abort + 106
3   agriumJourney2050                    0x011d5be9 uncaught_exception_handler + 22
4   CoreFoundation                       0x20b9e629 __handleUncaughtException + 642
5   libobjc.A.dylib                      0x2036b087 _objc_terminate() + 172
6   agriumJourney2050                    0x011c84c3 BITCrashUncaughtCXXTerminateHandler() (BITCrashCXXExceptionHandler.mm:178)
7   libc++abi.dylib                      0x2035ce17 std::__terminate(void (*)()) + 76
8   libc++abi.dylib                      0x2035c8f7 __cxa_rethrow + 100
9   libobjc.A.dylib                      0x2036af47 objc_exception_rethrow + 40
10  CoreFoundation                       0x20ab1c3f CFRunLoopRunSpecific + 648
11  CoreFoundation                       0x20ab19ad CFRunLoopRunInMode + 106
12  GraphicsServices                     0x21d2baf9 GSEventRunModal + 158
13  UIKit                                0x24d9dfb5 UIApplicationMain + 142
14  agriumJourney2050                    0x0009252b main (main.mm:32)
15  ???                                  0x20764873 0x0 + 0

Any suggestions on what is causing this? This is on devices with iOS 9.2

Hi @crushforth ,
This crash was stemming from an issue with Keyboard.mm in the iOS trampoline code. If you have regenerated your iOS project the crash should have disappeared. Could you share the Keyboard.mm file from your trampoline project?
Thanks,
Chris

Hi @christophergoy

We currently modify keyboard.mm in a postbuild script to get a round a few issues (removing the shortcut bar introduced iniOS9 and stopping auto capitalization because weird things were happening in NGUI). The modifications we do are as follows:

// Modify the file Keyboard.mm to remove the new iOS9 keyboard shortcut bar
            string textViewCodeToInsert =
                "\n\n" +
                "    if ([textView respondsToSelector:@selector(inputAssistantItem)]) {\n" +
                "        UITextInputAssistantItem *inputAssistantItem = [textView inputAssistantItem];\n" +
                "        inputAssistantItem.leadingBarButtonGroups = @[];\n" +
                "        inputAssistantItem.trailingBarButtonGroups = @[];\n" +
                "    }\n";
            InsertCodeAfter(path + PATH_KEYBOARD_FILE, "textView.text = initialText;", textViewCodeToInsert, "TextView: Removing keyboard shortcut bar");

            string textFieldCodeToInsert =
                "\n\n" +
                "    if ([textField respondsToSelector:@selector(inputAssistantItem)]) {\n" +
                "        UITextInputAssistantItem *inputAssistantItem = [textField inputAssistantItem];\n" +
                "        inputAssistantItem.leadingBarButtonGroups = @[];\n" +
                "        inputAssistantItem.trailingBarButtonGroups = @[];\n" +
                "    }\n";
            InsertCodeAfter(path + PATH_KEYBOARD_FILE, "textField.text = initialText;", textFieldCodeToInsert, "TextField: Removing keyboard shortcut bar");
       
            // Turn off "UITextAutocapitalizationTypeSentences" because it causes flickering backspace/shift keys when the input is hidden
            // This is something to do with how Unity & NGUI deal with input.
            // http://www.tasharen.com/forum/index.php?topic=9960.msg47765#msg47765
            // https://feedback.unity3d.com/suggestions/touchscreenkeyboard-auto-capitalization-support
            // The acceptable workaround seems to be to disable 'UITextAutocapitalizationTypeSentences'
            ReplaceCode(path + PATH_KEYBOARD_FILE, "UITextAutocapitalizationType capitalization = UITextAutocapitalizationTypeSentences;", "UITextAutocapitalizationType capitalization = UITextAutocapitalizationTypeNone;", "Keyboard: Disabling UITextAutocapitalizationTypeSentences because of the flickering key issue found when pressing backspace and the input is hidden");

I’ll attach our keyboard.mm from our current build (deployed with 5.3.3p2).

Is your previous fix present in our current keyboard.mm? (had to add a .txt extension so I could attach it)

2546562–176998–Keyboard.mm.txt (17.5 KB)

Oh you want the version from the trampoline folder. Ah ok. See attachment:

Thanks

2546566–176999–Keyboard.mm.txt (14.4 KB)

Hey @crushforth ,
looks like you have the changes. If you could find a repro case that would be really helpful. Or if you are able to zip up your xcode project and submit it with a bug that would also be helpful. If you end up doing that, please post the case number here.
Cheers,
Chris

I have also been getting a lot of these crashes below reported from players on iOS, mainly iPhone. I’m running Unity 5.3.2f1.

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x183c5c1c0 __exceptionPreprocess
1  libobjc.A.dylib                0x18269455c objc_exception_throw
2  CoreFoundation                 0x183c5c094 +[NSException raise:format:]
3  Foundation                     0x1846e6898 -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
4  UIKit                          0x189d28b60 _prepareForCAFlush
5  UIKit                          0x189d491cc _beforeCACommitHandler
6  CoreFoundation                 0x183c097dc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
7  CoreFoundation                 0x183c0740c __CFRunLoopDoObservers
8  CoreFoundation                 0x183b36068 CFRunLoopRunSpecific
9  matchdragons                   0x10008c07c UnityRepaint (UnityAppController+Rendering.mm:248)
10 matchdragons                   0x100099334 -[UnityAppController applicationWillResignActive:] (UnityAppController.mm:309)
11 UIKit                          0x189b0d268 -[UIApplication _deactivateForReason:notify:]
12 UIKit                          0x189d2b470 __61-[UIApplication _sceneSettingsPreLifecycleEventDiffInspector]_block_invoke
13 FrontBoardServices             0x1857e65e8 __52-[FBSSettingsDiffInspector inspectDiff:withContext:]_block_invoke.27
14 Foundation                     0x1846f8824 __NSIndexSetEnumerate
15 BaseBoard                      0x18576122c -[BSSettingsDiff inspectChangesWithBlock:]
16 FrontBoardServices             0x1857e06a8 -[FBSSettingsDiff inspectOtherChangesWithBlock:]
17 FrontBoardServices             0x1857e63c4 -[FBSSettingsDiffInspector inspectDiff:withContext:]
18 UIKit                          0x189d2c8d8 __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke
19 UIKit                          0x189d2c57c -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]
20 UIKit                          0x18a05de44 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:]
21 FrontBoardServices             0x1857cfb8c __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke.376
22 FrontBoardServices             0x1857fd8bc __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
23 FrontBoardServices             0x1857fd728 -[FBSSerialQueue _performNext]
24 FrontBoardServices             0x1857d5df4 -[FBSWorkspace synchronizeSystemAnimationFencesWithCleanUpBlock:]
25 UIKit                          0x189d2875c -[UIApplication _synchronizeSystemAnimationFencesWithSpinCleanUpBlock:]
26 UIKit                          0x189d7d168 __realPreCommitHandler_block_invoke
27 QuartzCore                     0x186f04478 CA::Transaction::Fence::run_callbacks() const
28 QuartzCore                     0x186edbd48 CA::Context::commit_transaction(CA::Transaction*)
29 QuartzCore                     0x186f030d0 CA::Transaction::commit()
30 QuartzCore                     0x186e5f598 CA::smile:isplay::smile:isplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
31 IOKit                          0x183ec8570 IODispatchCalloutFromCFMessage
32 CoreFoundation                 0x183bf256c __CFMachPortPerform
33 CoreFoundation                 0x183c0a934 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
34 CoreFoundation                 0x183c0a0e8 __CFRunLoopDoSource1
35 CoreFoundation                 0x183c07bcc __CFRunLoopRun
36 CoreFoundation                 0x183b36048 CFRunLoopRunSpecific
37 matchdragons                   0x10008c07c UnityRepaint (UnityAppController+Rendering.mm:248)
38 matchdragons                   0x10008bdf0 -[UnityAppController(Rendering) repaintDisplayLink] (UnityAppController+Rendering.mm:54)
39 QuartzCore                     0x186e5f640 CA::smile:isplay::smile:isplayLinkItem::dispatch(unsigned long long)
40 QuartzCore                     0x186e5f4ec CA::smile:isplay::smile:isplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long)
41 IOKit                          0x183ec8570 IODispatchCalloutFromCFMessage
42 CoreFoundation                 0x183bf256c __CFMachPortPerform
43 CoreFoundation                 0x183c0a934 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__
44 CoreFoundation                 0x183c0a0e8 __CFRunLoopDoSource1
45 CoreFoundation                 0x183c07bcc __CFRunLoopRun
46 CoreFoundation                 0x183b36048 CFRunLoopRunSpecific
47 GraphicsServices               0x1855b9198 GSEventRunModal
48 UIKit                          0x189b10628 -[UIApplication _run]
49 UIKit                          0x189b0b360 UIApplicationMain
50 matchdragons                   0x10008607c main (main.mm:32)
51 libdispatch.dylib              0x182b185b8 (Missing)

Hi @Peacewise ,
There have been many fixes since 5.3.2 in the latest 5.3.x patch releases the latest of which can be found here: Download Archive

I would strongly recommend upgrading, since I believe this crash has been fixed in a patch release.
Cheers,
Chris

@christophergoy – Thank you for that suggestion, I am updating now.

In Unity 5.4.3p3 the bug is still present. Are there any ideas how to fix it without waiting for a new patch version?

Hi @ignat84 ,
Can you file a bug please? And please attach a reproduction project, this will ensure that we are able to fix it quickly.
Cheers,
Chris

This issue is a duplicate of:

If this is the same one, I have a partial fix for it. Our “UnityRepaint()” crashes dropped by about 60-70% following this. You need to attache this to any monobehaviour class you are sure is always present in your app.

#if UNITY_IOS && !UNITY_EDITOR
    IEnumerator OnApplicationFocus(bool hasFocus)
    {
        if ( !hasFocus )
        {
            Application.targetFrameRate = 30;
        }
        else
        {
            yield return null;

            Application.targetFrameRate = 60;
        }

    }
#endif
2 Likes

We’re also seeing the FrontBoardServices crash on end user devices. This is in builds created with 5.5.0.

I’m having this issue on my game, and it is stopping me from getting an update out on iOS now. The Apple review team keep failing me due to this crash.

Does anyone have any updates on this? I’ve tried going to Unity 2018.2.12f1 and still no luck.
Symbolicated crash log from the Apple review team below:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Date/Time:           2018-10-22 11:24:35.4354 +0900
Launch Time:         2018-10-22 11:22:41.1456 +0900
OS Version:          iPhone OS 12.0.1 (16A404)
Baseband Version:    5.10.00
Report Version:      104

Exception Codes: 0x0000000000000001, 0x00000001025de388
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1791]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   kusc                              0x00000001025de388 CrashedCheckBelowForHintsWhy() + 91016 (CrashReporter.mm:92)
1   kusc                              0x000000010300e6e4 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 10774244 (Runtime.cpp:521)
2   kusc                              0x000000010300f37c il2cpp::vm::Runtime::CallUnhandledExceptionDelegate(Il2CppDomain*, Il2CppDelegate*, Il2CppException*) + 10777468 (Runtime.cpp:752)
3   kusc                              0x000000010300f294 il2cpp::vm::Runtime::UnhandledException(Il2CppException*) + 10777236 (Runtime.cpp:614)
4   kusc                              0x0000000102a93a64 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 5028452 (ScriptingInvocation.cpp:356)
5   kusc                              0x0000000102a972f8 Coroutine::InvokeMoveNext(ScriptingExceptionPtr*) + 5042936 (Coroutine.cpp:232)
6   kusc                              0x0000000102a96ecc Coroutine::Run(bool*) + 5041868 (Coroutine.cpp:257)
7   kusc                              0x00000001029217f4 DelayedCallManager::Update(int) + 3512308 (CallDelayed.cpp:177)
8   kusc                              0x00000001029d53b4 ExecutePlayerLoop(NativePlayerLoopSystem*) + 4248500 (PlayerLoop.cpp:340)
9   kusc                              0x00000001029d53dc ExecutePlayerLoop(NativePlayerLoopSystem*) + 4248540 (PlayerLoop.cpp:357)
10  kusc                              0x00000001029d5538 PlayerLoop() + 4248888 (PlayerLoop.cpp:411)
11  kusc                              0x0000000102805560 UnityPlayerLoopImpl(bool) + 2348384 (LibEntryPoint.mm:299)
12  kusc                              0x00000001025d42cc UnityRepaint + 49868 (UnityAppController+Rendering.mm:280)
13  kusc                              0x00000001025d41b8 -[UnityAppController(Rendering) repaintDisplayLink] + 49592 (UnityAppController+Rendering.mm:77)
14  QuartzCore                        0x0000000224099574 0x224089000 + 66932
15  IOKit                             0x000000021fe4358c 0x21fe3e000 + 21900
16  CoreFoundation                    0x000000021fb4b3e4 0x21fac6000 + 545764
17  CoreFoundation                    0x000000021fb72c30 0x21fac6000 + 707632
18  CoreFoundation                    0x000000021fb7237c 0x21fac6000 + 705404
19  CoreFoundation                    0x000000021fb6d134 0x21fac6000 + 684340
20  CoreFoundation                    0x000000021fb6c5b8 0x21fac6000 + 681400
21  GraphicsServices                  0x0000000221de0584 0x221dd5000 + 46468
22  UIKitCore                         0x000000024c9e8bc8 0x24c105000 + 9321416
23  kusc                              0x00000001025cd200 main + 20992 (main.mm:33)
24  libdyld.dylib                     0x000000021f62cb94 0x21f62c000 + 2964

I’m going to try this, see if it helps. Thanks