"Critical iOS Crash in 3.8.7: Main Thread Checker - [UIView layer] on Background Thread"

CLIENT OF UIKIT REQUIRES UPDATE: This process does not adopt UIScene lifecycle. This will become an assert in a future version.
16:06:34 [INFO]: Metal Feature Set: MTLFeatureSet_iOS_GPUFamily4_v2
16:06:34 [INFO]: Device validator enabled.
16:06:34 [DEBUG]: D/ Initializing V8, version: 11.6.189.22

16:06:34 [DEBUG]: D/ libuv version: 1.23.1-dev

16:06:34 [DEBUG]: D/ Number of interfaces: 16
16:06:34 [DEBUG]: D/ Debugger listening…, visit [
16:06:34 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=169.254.139.210:6086/00010002-0003-4004-8005-000600070008
16:06:34 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=192.168.1.5:6086/00010002-0003-4004-8005-000600070008
16:06:34 [DEBUG]: D/ devtools://devtools/bundled/js_app.html?v8only=true&ws=127.0.0.1:6086/00010002-0003-4004-8005-000600070008
16:06:34 [DEBUG]: D/ ] in chrome browser to debug!
16:06:34 [DEBUG]: D/ For help see Node.js — Debugging Node.js
16:06:34 [WARN]: JS: WebAssembly is not supported!
16:06:34 [INFO]: Device thread detached.

Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 1343, TID: 584366, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
5 RamayanQuest-iOS-mobile 0x000000010113ae58 _ZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoE + 152
6 RamayanQuest-iOS-mobile 0x00000001010edfe4 _ZN2cc3gfx9Swapchain10initializeERKNS0_13SwapchainInfoE + 136
7 RamayanQuest-iOS-mobile 0x00000001010d0374 _ZZN2cc3gfx14SwapchainAgent6doInitERKNS0_13SwapchainInfoEEN13SwapchainInit7executeEv + 32
8 RamayanQuest-iOS-mobile 0x0000000100bfa300 _ZN2cc12MessageQueue15executeMessagesEv + 60
9 RamayanQuest-iOS-mobile 0x0000000100bfa35c _ZN2cc12MessageQueue13flushMessagesEv + 52
10 RamayanQuest-iOS-mobile 0x0000000100bf9c2c _ZN2cc12MessageQueue18consumerThreadLoopEv + 64
11 RamayanQuest-iOS-mobile 0x0000000100c02794 ZNSt3__18__invokeB8de190102IMN2cc12MessageQueueEDoFvvEPS2_JEvEEDTcldsdeclsr3stdE7declvalIT0_EEclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT1_EEEEOS7_OS6_DpOS8 + 124
12 RamayanQuest-iOS-mobile 0x0000000100c0270c _ZNSt3__116__thread_executeB8de190102INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEMN2cc12MessageQueueEDoFvvEJPS7_EJLm2EEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 48
13 RamayanQuest-iOS-mobile 0x0000000100c023b8 ZNSt3__114__thread_proxyB8de190102INS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN2cc12MessageQueueEDoFvvEPS8_EEEEEPvSD + 84
14 libsystem_pthread.dylib 0x0000000211bdb344 _pthread_start + 136
15 libsystem_pthread.dylib 0x0000000211bd8ab8 thread_start + 8
Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 1343, TID: 584366, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
5 RamayanQuest-iOS-mobile 0x000000010113ae58 _ZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoE + 152
6 RamayanQuest-iOS-mobile 0x00000001010edfe4 _ZN2cc3gfx9Swapchain10initializeERKNS0_13SwapchainInfoE + 136
7 RamayanQuest-iOS-mobile 0x00000001010d0374 _ZZN2cc3gfx14SwapchainAgent6doInitERKNS0_13SwapchainInfoEEN13SwapchainInit7executeEv + 32
8 RamayanQuest-iOS-mobile 0x0000000100bfa300 _ZN2cc12MessageQueue15executeMessagesEv + 60
9 RamayanQuest-iOS-mobile 0x0000000100bfa35c _ZN2cc12MessageQueue13flushMessagesEv + 52
10 RamayanQuest-iOS-mobile 0x0000000100bf9c2c _ZN2cc12MessageQueue18consumerThreadLoopEv + 64
11 RamayanQuest-iOS-mobile 0x0000000100c02794 ZNSt3__18__invokeB8de190102IMN2cc12MessageQueueEDoFvvEPS2_JEvEEDTcldsdeclsr3stdE7declvalIT0_EEclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT1_EEEEOS7_OS6_DpOS8 + 124
12 RamayanQuest-iOS-mobile 0x0000000100c0270c _ZNSt3__116__thread_executeB8de190102INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEMN2cc12MessageQueueEDoFvvEJPS7_EJLm2EEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 48
13 RamayanQuest-iOS-mobile 0x0000000100c023b8 ZNSt3__114__thread_proxyB8de190102INS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN2cc12MessageQueueEDoFvvEPS8_EEEEEPvSD + 84
14 libsystem_pthread.dylib 0x0000000211bdb344 _pthread_start + 136
15 libsystem_pthread.dylib 0x0000000211bd8ab8 thread_start + 8
Modifying properties of a view’s layer off the main thread is not allowed: view <View: 0x10945e8f0> with associated view controller <ViewController: 0x10945e4f0>; backtrace:
(
0 UIKitCore 0x000000018a6c69c0 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 6154688
1 UIKitCore 0x000000018a101048 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 102472
2 QuartzCore 0x0000000189381db8 84083889-AD8A-3201-A268-3E06B01014F9 + 69048
3 QuartzCore 0x00000001893819d4 84083889-AD8A-3201-A268-3E06B01014F9 + 68052
4 QuartzCore 0x00000001893847f4 84083889-AD8A-3201-A268-3E06B01014F9 + 79860
5 QuartzCore 0x0000000189483e88 84083889-AD8A-3201-A268-3E06B01014F9 + 1126024
6 RamayanQuest-iOS-mobile 0x000000010113b17c _ZZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoEENK3$_0clEbb + 52
7 RamayanQuest-iOS-mobile 0x000000010113af0c _ZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoE + 332
8 RamayanQuest-iOS-mobile 0x00000001010edfe4 _ZN2cc3gfx9Swapchain10initializeERKNS0_13SwapchainInfoE + 136
9 RamayanQuest-iOS-mobile 0x00000001010d0374 _ZZN2cc3gfx14SwapchainAgent6doInitERKNS0_13SwapchainInfoEEN13SwapchainInit7executeEv + 32
10 RamayanQuest-iOS-mobile 0x0000000100bfa300 _ZN2cc12MessageQueue15executeMessagesEv + 60
11 RamayanQuest-iOS-mobile 0x0000000100bfa35c _ZN2cc12MessageQueue13flushMessagesEv + 52
12 RamayanQuest-iOS-mobile 0x0000000100bf9c2c _ZN2cc12MessageQueue18consumerThreadLoopEv + 64
13 RamayanQuest-iOS-mobile 0x0000000100c02794 ZNSt3__18__invokeB8de190102IMN2cc12MessageQueueEDoFvvEPS2_JEvEEDTcldsdeclsr3stdE7declvalIT0_EEclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT1_EEEEOS7_OS6_DpOS8 + 124
14 RamayanQuest-iOS-mobile 0x0000000100c0270c _ZNSt3__116__thread_executeB8de190102INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEMN2cc12MessageQueueEDoFvvEJPS7_EJLm2EEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 48
15 RamayanQuest-iOS-mobile 0x0000000100c023b8 ZNSt3__114__thread_proxyB8de190102INS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEMN2cc12MessageQueueEDoFvvEPS8_EEEEEPvSD + 84
16 libsystem_pthread.dylib 0x0000000211bdb344 _pthread_start + 136
17 libsystem_pthread.dylib 0x0000000211bd8ab8 thread_start + 8
)
Modifying properties of a view’s layer off the main thread is not allowed: view <View: 0x10945e8f0> with associated view controller <ViewController: 0x10945e4f0>; backtrace:
(
0 UIKitCore 0x000000018a6c69c0 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 6154688
1 UIKitCore 0x000000018a101048 5E794CAA-4162-3FF6-861E-45F29F6B8AC0 + 102472
2 QuartzCore 0x0000000189381db8 84083889-AD8A-3201-A268-3E06B01014F9 + 69048
3 QuartzCore 0x00000001893819d4 84083889-AD8A-3201-A268-3E06B01014F9 + 68052
4 QuartzCore 0x00000001893847f4 84083889-AD8A-3201-A268-3E06B01014F9 + 79860
5 QuartzCore 0x0000000189483e88 84083889-AD8A-3201-A268-3E06B01014F9 + 1126024
6 RamayanQuest-iOS-mobile 0x000000010113b17c _ZZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoEENK3$_0clEbb + 52
7 RamayanQuest-iOS-mobile 0x000000010113af28 _ZN2cc3gfx14CCMTLSwapchain6doInitERKNS0_13SwapchainInfoE + 360
8 RamayanQuest-iOS-mobile 0x00000001010edfe4 _ZN2cc3gfx9Swapchain10initializeERKNS0_13SwapchainInfoE + 136
9 RamayanQuest-iOS-mobile 0x00000001010d0374