Developer Notes

This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.

Description

If an AI is moving between points in the persistent level but is located within a sublevel and the sublevel is set to not visible, there is a chance that the editor will eventually crash. Setting IsValid checks does not stop the crash from occurring.

Frequency: 2/2

Steps to Reproduce
  1. Download, unzip, open attached project
  2. Press PIE
  3. Wait for ~5-10 minutes

Results

After ~5-10 minutes, editor crashes.

Expected

AI continues to switch between two points in persistent level

Callstack

MachineId:409D523543AE785961A2788C698A2F90
EpicAccountId:1558531203f84e81b70959b8a59badef

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

UE4Editor_AIModule!AAIController::ResumeMove() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\aimodule\private\aicontroller.cpp:713]
UE4Editor_AIModule!UAITask_MoveTo::Resume() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\aimodule\private\tasks\aitask_moveto.cpp:162]
UE4Editor_GameplayTasks!UGameplayTask::ActivateInTaskQueue() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\gameplaytasks\private\gameplaytask.cpp:313]
UE4Editor_GameplayTasks!UGameplayTasksComponent::UpdateTaskActivations() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\gameplaytasks\private\gameplaytaskscomponent.cpp:433]
UE4Editor_GameplayTasks!UGameplayTasksComponent::ProcessTaskEvents() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\gameplaytasks\private\gameplaytaskscomponent.cpp:311]
UE4Editor_GameplayTasks!UGameplayTasksComponent::AddTaskReadyForActivation() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\gameplaytasks\private\gameplaytaskscomponent.cpp:263]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:5077]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:641]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2060]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:866]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:5077]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1245]
UE4Editor_Engine!AActor::ProcessEvent() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actor.cpp:639]
UE4Editor_Engine!FLatentActionManager::TickLatentActionForObject() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\latentactionmanager.cpp:174]
UE4Editor_Engine!FLatentActionManager::ProcessLatentActions() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\latentactionmanager.cpp:82]
UE4Editor_Engine!AActor::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actor.cpp:829]
UE4Editor_Engine!AActor::TickActor() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actor.cpp:814]
UE4Editor_Engine!FActorTickFunction::ExecuteTick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\actor.cpp:111]
UE4Editor_Engine!FTickFunctionTask::DoTask() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:262]
UE4Editor_Engine!TGraphTask<FTickFunctionTask>::ExecuteTask() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:999]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:679]
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:1776]
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:530]
UE4Editor_Engine!FTickTaskManager::RunTickGroup() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\ticktaskmanager.cpp:1432]
UE4Editor_Engine!UWorld::RunTickGroup() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\leveltick.cpp:704]
UE4Editor_Engine!UWorld::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\engine\private\leveltick.cpp:1197]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\editorengine.cpp:1349]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:368]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2775]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\launch.cpp:148]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\build\++ue4+release-4.12+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:264]
kernel32
ntdll

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

1
Login to Vote

Won't Fix
ComponentUE - AI
Affects Versions4.12.5
CreatedAug 11, 2016
ResolvedMay 30, 2017
UpdatedApr 27, 2018