Unity crash when build for Android

I have a problem building my project for Android, it always crashes during the process. Previously, I have already built the game several times and an error has never occurred, now that I may do another beta, I do not stop getting that error. It says that it is probably an error in the native libraries, but I have not touched anything there. Here’s what gets me in the previous editor:

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Received signal SIGSEGV
Stack trace:
0x00007ff65f82c5f4 (Unity) SerializedFile::WriteObject
0x00007ff65f814535 (Unity) PersistentManager::WriteFile
0x00007ff65f8160fd (Unity) PersistentManager::WriteFile
0x00007ff65fd8b4f0 (Unity) WriteBuildSceneFile
0x00007ff65fd79149 (Unity) CompileGameScene
0x00007ff66106033b (Unity) BuildCopyGameScene
0x00007ff661063d18 (Unity) BuildPlayerData
0x00007ff66106d4c8 (Unity) DoBuildPlayer_Build
0x00007ff66106c287 (Unity) DoBuildPlayer
0x00007ff661061de5 (Unity) BuildPlayer
0x00007ff660640685 (Unity) BuildPipeline::BuildPlayerInternalNoCheck
0x00007ff660619adc (Unity) BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck
0x0000019cd7d30d6a (Mono JIT Code) (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[ ],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,UnityEditor.BuildOptions,string[ ],bool)
0x0000019cd7d3056b (Mono JIT Code) UnityEditor.BuildPlayerWindow/DefaultBuildMethods:BuildPlayer (UnityEditor.BuildPlayerOptions)
0x0000019cd76bd71b (Mono JIT Code) UnityEditor.BuildPlayerWindow:CallBuildMethods (bool,UnityEditor.BuildOptions)
0x0000019cd76b8653 (Mono JIT Code) UnityEditor.BuildPlayerWindow:GUIBuildButtons (UnityEditor.Modules.IBuildWindowExtension,bool,bool,bool,UnityEditor.Build.BuildPlatform)
0x0000019cd76aa0e3 (Mono JIT Code) UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings ()
0x0000019cd568f7cb (Mono JIT Code) UnityEditor.BuildPlayerWindow:OnGUI ()
0x000001998ae981e3 (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect,UnityEngine.Rect)
0x000001998ae97f53 (Mono JIT Code) UnityEditor.DockArea:smile:rawView (UnityEngine.Rect,UnityEngine.Rect)
0x000001998ae47863 (Mono JIT Code) UnityEditor.DockArea:OldOnGUI ()
0x000001998ae31f08 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:smile:oOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
0x000001998ae30f6b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
0x000001998b2368cb (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
0x000001998b236753 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
0x000001998b235fab (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
0x000001998b233213 (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
0x000001998aaaf87b (Mono JIT Code) UnityEngine.UIElements.IMGUIContainer:HandleEvent (UnityEngine.UIElements.EventBase)
0x000001998aa9ded8 (Mono JIT Code) UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
0x000001998b230673 (Mono JIT Code) UnityEngine.UIElements.MouseCaptureDispatchingStrategy:smile:ispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001998aa9c1ae (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
0x000001998aa9bca3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001998aaa2043 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
0x000001998aaa06f3 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:OpenGate ()
0x000001998aaa063b (Mono JIT Code) UnityEngine.UIElements.EventDispatcherGate:smile:ispose ()
0x000001998aa9bf33 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
0x000001998aa9b603 (Mono JIT Code) UnityEngine.UIElements.EventDispatcher:smile:ispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
0x000001998aa9b47b (Mono JIT Code) UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
0x000001998adc8f6b (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:smile:oDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
0x000001998adc868b (Mono JIT Code) UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
0x000001998adc848f (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
0x000001998adc801b (Mono JIT Code) UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
0x000001998adc7e9d (Mono JIT Code) UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
0x000001998adc7f4e (Mono JIT Code) (wrapper runtime-invoke) :runtime_invoke_void_int_intptr_intptr& (object,intptr,intptr,intptr)
0x00007ff9b372e640 (mono-2.0-bdwgc) [mini-runtime.c:2812] mono_jit_runtime_invoke
0x00007ff9b36b2ad2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007ff9b36bbb2f (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007ff65f7a5984 (Unity) scripting_method_invoke
0x00007ff65f7a0ff1 (Unity) ScriptingInvocation::Invoke
0x00007ff65f79b2a5 (Unity) ScriptingInvocation::Invoke
0x00007ff65ea7ba0a (Unity) Scripting::UnityEngine::GUIUtilityProxy::ProcessEvent
0x00007ff65fb915f6 (Unity) GUIView::ProcessRetainedMode
0x00007ff66008137d (Unity) GUIView::OnInputEvent
0x00007ff65fb914e2 (Unity) GUIView::ProcessInputEvent
0x00007ff6600823b9 (Unity) GUIView::ProcessEventMessages
0x00007ff66007c48d (Unity) GUIView::GUIViewWndProc
0x00007ffa0807e858 (USER32) CallWindowProcW
0x00007ffa0807e299 (USER32) DispatchMessageW
0x00007ff66005b666 (Unity) MainMessageLoop
0x00007ff66005f3e6 (Unity) WinMain
0x00007ff661b8d662 (Unity) __scrt_common_main_seh
0x00007ffa08467034 (KERNEL32) BaseThreadInitThunk
0x00007ffa096a2651 (ntdll) RtlUserThreadStart

So, how do you solve this problem? bro

I got this when I use an Android AAR in my project ,and build it to apk at MONO.
But it works well if i build at IL2CPP,
If someone had resolved this ,please help, thanks a lot !

17:42:05.836 E No native Android stacktrace (see debuggerd output).
17:42:05.836 E
=================================================================
Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================
17:42:05.844 E *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
17:42:05.844 E Version ‘2020.3.37f1c1 (9f30be21c416)’, Build type ‘Release’, Scripting Backend ‘mono’, CPU ‘armeabi-v7a’
17:42:05.844 E Build fingerprint: ‘samsung/c2quew/c2q:13/TP1A.220624.014/N986U1UEU3GVK5:user/release-keys’ 17:42:05.844 E Revision: ‘9’
17:42:05.844 E ABI: ‘arm’
17:42:05.844 E Timestamp: 2023-01-30
17:42:05+0800 17:42:05.844 E pid: 13691, tid: 13720, name: UnityMain >>> com.BrainUp.BrainUpIOTProject <<< 17:42:05.844 E uid: 10437 17:42:05.844 E signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdafe6fe0 17:42:05.844 E r0 00000000 r1 00000000 r2 00000000 r3 00000000 17:42:05.844 E r4 dae3ef00 r5 b43c5e58 r6 ffffffff r7 b4338960
17:42:05.844 E r8 b019c3e8 r9 db0e9a18 r10 00000000 r11 db0e8fc0
17:42:05.844 E ip eeabd640 sp dafe6fe8 lr eeabd65c pc db5594b0
17:42:05.844 E backtrace:
17:42:05.844 E #00 pc 002594b0 /data/app/~~2Juolxr3iS5UhdPkF6-iWA==/com.BrainUp.BrainUpIOTProject-Seo96nH9JkSszSSH3n0Qpw==/lib/arm/libmonobdwgc-2.0.so
17:42:05.844 E #01 pc 0000008e anonymous:ee900000
17:42:05.909 I handle_sns_std_sensor_event:268, [SSC_LIGHT] P: 136(136),m:1,c:0,b:89,ch:721,r:51,bl:0,16:132 17:42:05.947 E Tombstone written to: /storage/emulated/0/Android/data/com.BrainUp.BrainUpIOTProject/files/tombstone_01
17:42:05.947 E FATAL EXCEPTION: UnityMain Process: com.BrainUp.BrainUpIOTProject, PID: 13691 java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Version ‘2020.3.37f1c1 (9f30be21c416)’, Build type ‘Release’, Scripting Backend ‘mono’, CPU ‘armeabi-v7a’ Build fingerprint: ‘samsung/c2quew/c2q:13/TP1A.220624.014/N986U1UEU3GVK5:user/release-keys’ Revision: ‘9’ ABI: ‘arm’ Timestamp: 2023-01-30
17:42:05+0800 pid: 13691, tid: 13720, name: UnityMain >>> com.BrainUp.BrainUpIOTProject <<< uid: 10437 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdafe6fe0 r0 00000000 r1 00000000 r2 00000000 r3 00000000 r4 dae3ef00 r5 b43c5e58 r6 ffffffff r7 b4338960 r8 b019c3e8 r9 db0e9a18 r10 00000000 r11 db0e8fc0 ip eeabd640 sp dafe6fe8 lr eeabd65c pc db5594b0 backtrace: #00 pc 002594b0 /data/app/~~2Juolxr3iS5UhdPkF6-iWA==/com.BrainUp.BrainUpIOTProject-Seo96nH9JkSszSSH3n0Qpw==/lib/arm/libmonobdwgc-2.0.so #01 pc 0000008e anonymous:ee900000 at libmonobdwgc-2.0x2594b0(Native Method)