thelazylion:
Hi there, thanks in advanced for any help on this, i’m getting a crash when querying for targets during a melee animation, if multiple targets are in sight usually.
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION writing address 0x00000028
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_CoreUObject
UE4Editor_AbleCore!UAblAbility::CalculateDamageForActorBP() [d:\build\++portal+promotion\sync\localbuilds\plugintemp\hostproject\plugins\able\intermediate\build\win64\ue4editor\inc\ablecore\ablability.gen.cpp:483]
UE4Editor_AbleCore!<lambda_bc0e834bf2a1af60dbceb985d90ac1e5>::operator()() [d:\build\++portal+promotion\sync\localbuilds\plugintemp\hostproject\plugins\able\source\ablecore\private asks\abldamageeventtask.cpp:67]
UE4Editor_AbleCore!SetPromise<float,TUniqueFunction<float __cdecl(void)> &>() [d:\rocketsync\4.24.0-10570792+++ue4+release-4.24\working\engine\source\runtime\core\public\async\async.h:50]
UE4Editor_AbleCore!TGraphTask<TAsyncGraphTask<float> >::ExecuteTask() [d:\rocketsync\4.24.0-10570792+++ue4+release-4.24\working\engine\source\runtime\core\public\async askgraphinterfaces.h:847]
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
kernel32
ntdll
Any ideas?
Also cone query seems to yield no results, but switching to box or capsule or sphere , works again.
Thanks again
Looks like something is going on in your CalculateDamageForBP method. You can also try turning off Async in the Able options as you may be doing something unsafe there (you can turn it back on once you figure out what’s going on).
You can set Cone to verbose and see what’s going on.