AddressSanitizer can output Stacktrace on android debug buildconfiguration but not development?

I am runing TP demo on Android Client, build with AddressSanitizer, but only debug mode can output asan crashed stacktrace. when build on development mode, only output system crashed stacktrace. what their diff between debug and development mode?
Is there a way to output address sanitizer stacktrace on android development buildconfiguration?

I am not sure about the problem is solved. when after modify compile level from O2 to O1 and add -g, then the asan crashed callstatck outputed.

asan_options=“log_to_syslog=false,allow_user_segv_handler=1,detect_container_overflow=0,alloc_dealloc_mismatch=1”

wrap.sh

#!/system/bin/sh
HERE="$(cd "$(dirname "$0")" && pwd)"
export LD_PRELOAD="$HERE/libclang_rt.asan-aarch64-android.so $HERE/libc++_shared.so"
"$@"

crashed callstatck

    ==31809==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00773dc58a94 bp 0x00775b33d4f0 sp 0x00775b33d360 T30)

    ==31809==The signal is caused by a READ memory access.

    ==31809==Hint: address points to the zero page.

#0 0x17fd8a90 in ATPCharacter::MoveForward(float) at TPCharacter.cpp:126
#1 0x17fdb240 in TBaseUObjectMethodDelegateInstance<false, ATPCharacter, void (float), FDefaultDelegateUserPolicy>::Execute(float) const at DelegateInstancesImpl.h:593
#2 0x250fcef8 in UPlayerInput::ProcessInputStack(TArray<UInputComponent*, TSizedDefaultAllocator<32> > const&, float, bool) at PlayerInput.cpp:1439
#3 0x2444f268 in APlayerController::ProcessPlayerInput(float, bool) at PlayerController.cpp:2609
#4 0x2444b33c in APlayerController::TickPlayerInput(float, bool) at PlayerController.cpp:4761
#5 0x2444a878 in APlayerController::PlayerTick(float) at PlayerController.cpp:2232
#6 0x24462040 in APlayerController::TickActor(float, ELevelTick, FActorTickFunction&) at PlayerController.cpp:4914
#7 0x22597084 in FActorTickFunction::ExecuteTick(float, ELevelTick, ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) at Actor.cpp:197
#8 0x24ef1f04 in FTickFunctionTask::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) at TickTaskManager.cpp:284
#9 0x24ef1328 in TGraphTask<FTickFunctionTask>::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) at TaskGraphInterfaces.h:975
#10 0x182ea250 in FBaseGraphTask::Execute(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) at TaskGraphInterfaces.h:587
#11 0x182e7524 in FNamedTaskThread::ProcessTasksUntilQuit(int) at TaskGraph.cpp:641
#12 0x182e5d64 in FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete(TArray<TRefCountPtr<FGraphEvent>, TSizedInlineAllocator<4u, 32, TSizedDefaultAllocator<32> > > const&, ENamedThreads::Type) at TaskGraph.cpp:2168
#13 0x24ee16dc in FTickTaskSequencer::ReleaseTickGroup(ETickingGroup, bool) at TickTaskManager.cpp:564
#14 0x24ed6280 in FTickTaskManager::RunTickGroup(ETickingGroup, bool) at TickTaskManager.cpp:1591
#15 0x23a0f2dc in UWorld::RunTickGroup(ETickingGroup, bool) at LevelTick.cpp:789
#16 0x23a1c95c in UWorld::Tick(ELevelTick, float) at LevelTick.cpp:1531
#17 0x2350de24 in UGameEngine::Tick(float, bool) at GameEngine.cpp:1828
#18 0x145bea70 in FEngineLoop::Tick() at LaunchEngineLoop.cpp:5209
#19 0x145b2294 in AndroidMain(android_app*) at LaunchAndroid.cpp:537
#20 0x145c9ddc in android_main at LaunchAndroid.cpp:783
#21 0x1464a7a8 in android_app_entry at android_native_app_glue.c:233
        #22 0x784e2c7890  (/apex/com.android.runtime/lib64/bionic/libc.so+0xe6890)

        #23 0x784e265b6c  (/apex/com.android.runtime/lib64/bionic/libc.so+0x84b6c)



    AddressSanitizer can not provide additional info.

    SUMMARY: AddressSanitizer: SEGV (/data/app/com.aaa.TP-xi0mIQBDpEYdF_P5-6ZX9w==/lib/arm64/libUnreal.so+0x17fd8a90)

    Thread T30 (GameThread) created by T0 (main) here:

#0 0x915a0 in __sanitizer_syscall_pre_impl_truncate at sanitizer_common_syscalls.inc:812
#1 0x14649ec4 in android_app_create at android_native_app_glue.c:269
#2 0x1464987c in ANativeActivity_onCreate at android_native_app_glue.c:441
        #3 0x784f6930f0  (/system/lib64/libandroid_runtime.so+0xd30f0)

        #4 0x720bc5b0  (/system/framework/arm64/boot-framework.oat+0x2ac5b0)

        #5 0x77c8796dba  (/system/framework/framework.jar+0x669dba)

        #6 0x4c6a43e228c8ca8  (<unknown module>)

The test Boom Code: