Description

User comments in crash group:

  • I tried making an AI run into my sidescroller character
  • starting level with ai
 2188       	void RemoveAllSwap(const PREDICATE_CLASS& Predicate, bool bAllowShrinking = true)
 2189       	{
 2190 ***** 		for (int32 ItemIndex = 0; ItemIndex < Num();)
 2191       		{
 2192       			if (Predicate((*this)[ItemIndex]))
 2193       			{
 2194       				RemoveAtSwap(ItemIndex, 1, bAllowShrinking);
 2195       			}
 2196       			else
 2197       			{
 2198       				++ItemIndex;
 2199       			}
 2200       		}
 2201       	}
Steps to Reproduce

No known steps to reproduce

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_AIModule!TArray<TScriptDelegate<FWeakObjectPtr>,FDefaultAllocator>::RemoveAllSwap<<lambda_91e272c2e6003ae2685cd0d06095ff3e> >() [array.h:2191]
UE4Editor_AIModule!TBaseDynamicMulticastDelegate<FWeakObjectPtr,void,FAIRequestID,enum EPathFollowingResult::Type>::__Internal_AddDynamic<UAIAsyncTaskBlueprintProxy>() [delegatesignatureimpl.inl:1140]
UE4Editor_AIModule!UAIBlueprintHelperLibrary::CreateMoveToProxyObject() [aiblueprinthelperlibrary.cpp:158]
UE4Editor_AIModule!UAIBlueprintHelperLibrary::execCreateMoveToProxyObject() [aiblueprinthelperlibrary.h:26]
UE4Editor_CoreUObject!UFunction::Invoke() [class.cpp:4551]
UE4Editor_CoreUObject!UObject::CallFunction() [scriptcore.cpp:763]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [scriptcore.cpp:2198]
UE4Editor_CoreUObject!UObject::execLetObj() [scriptcore.cpp:2020]
UE4Editor_CoreUObject!UObject::ProcessInternal() [scriptcore.cpp:985]
UE4Editor_CoreUObject!UObject::CallFunction() [scriptcore.cpp:887]
UE4Editor_CoreUObject!UObject::ProcessInternal() [scriptcore.cpp:985]
UE4Editor_CoreUObject!UFunction::Invoke() [class.cpp:4551]
UE4Editor_CoreUObject!UObject::ProcessEvent() [scriptcore.cpp:1345]
UE4Editor_Engine!AActor::ProcessEvent() [actor.cpp:687]
UE4Editor_AIModule!TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>() [scriptdelegates.h:465]
UE4Editor_AIModule!UPawnSensingComponent::BroadcastOnSeePawn() [pawnsensingcomponent.cpp:298]
UE4Editor_AIModule!UPawnSensingComponent::UpdateAISensing() [pawnsensingcomponent.cpp:215]
UE4Editor_AIModule!UPawnSensingComponent::OnTimer() [pawnsensingcomponent.cpp:141]
UE4Editor_Engine!FTimerUnifiedDelegate::Execute() [timermanager.h:46]
UE4Editor_Engine!FTimerManager::Tick() [timermanager.cpp:603]
UE4Editor_Engine!UWorld::Tick() [leveltick.cpp:1487]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1693]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:401]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3339]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:144]
UE4Editor!WinMain() [launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-58890 in the post.

0
Login to Vote

Cannot Reproduce
ComponentCore
Affects Versions4.164.174.184.19
Target Fix4.23
CreatedMay 9, 2018
ResolvedJun 1, 2019
UpdatedJun 3, 2019