Description

Destroying a Character's CapsuleComponent while Use RVOAvoidance is enabled in the CharacterMovement component will crash the editor.

Crash Report:
[Link Removed]

Steps to Reproduce

1. Create a new Third Person Blueprint template project
2. Open the ThirdPersonCharacter Blueprint
3. In the CharacterMovement component, enable Use RVOAvoidance
4. Event Begin Play > DestroyComponent (CapsuleComponent)
5. PIE

Result:
Crash

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

UE4Editor_Engine!ACharacter::GetCapsuleComponent() character.cpp:1362 
UE4Editor_Engine!UCharacterMovementComponent::GetRVOAvoidanceHeight() charactermovementcomponent.cpp:2597 
UE4Editor_Engine!FNavAvoidanceData::FNavAvoidanceData() avoidancemanager.cpp:22 
UE4Editor_Engine!UAvoidanceManager::RegisterMovementComponent() avoidancemanager.cpp:142 
UE4Editor_Engine!UCharacterMovementComponent::SetUpdatedComponent() charactermovementcomponent.cpp:428 
UE4Editor_Engine!UCharacterMovementComponent::TickComponent() charactermovementcomponent.cpp:856 
UE4Editor_Engine!UActorComponent::ConditionalTickComponent() actorcomponent.cpp:1108 
UE4Editor_Engine!FActorComponentTickFunction::ExecuteTick() actorcomponent.cpp:656 
UE4Editor_Engine!FTickTaskSequencer::FTickFunctionTask::DoTask() ticktaskmanager.cpp:113 
UE4Editor_Engine!TGraphTask<FTickTaskSequencer::FTickFunctionTask>::ExecuteTask() taskgraphinterfaces.h:753 
UE4Editor_Core!FTaskThread::ProcessTasks() taskgraph.cpp:430 
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:273 
UE4Editor_Core!FTaskGraphImplementation::WaitUntilTasksComplete() taskgraph.cpp:991 
UE4Editor_Engine!FTaskGraphInterface::WaitUntilTaskCompletes() taskgraphinterfaces.h:192 
UE4Editor_Engine!FTickTaskSequencer::ReleaseTickGroup() ticktaskmanager.cpp:232 
UE4Editor_Engine!FTickTaskManager::RunTickGroup() ticktaskmanager.cpp:643 
UE4Editor_Engine!UWorld::RunTickGroup() leveltick.cpp:697 
UE4Editor_Engine!UWorld::Tick() leveltick.cpp:1181 
UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1339 
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:366 
UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2359 
UE4Editor!GuardedMain() launch.cpp:142 
UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 
UE4Editor!WinMain() launchwindows.cpp:200 

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - AI
Affects Versions4.8.34.9
Target Fix4.11
Fix Commit2843596
Main Commit2857187
Release Commit2843596
CreatedAug 27, 2015
ResolvedJan 26, 2016
UpdatedApr 27, 2018
View Jira Issue