Description

In Action RPG Sample, NPC Blueprints "NPC_Goblin_Level_01,02.03"  cannot be Duplicated.   Crash results lead to ARPGCharacterBase.Cpp Get Health function.

 

float ARPGCharacterBase::GetHealth() const 
{ 
    return AttributeSet->GetHealth();
}

 No Null check exists.

  

Steps to Reproduce
  1. Open up Action Rpg Sample.
  2. Navigate to Content->Blueprints->NPC
  3. Right Click on NPC_Goblin_Level_01, and choose to Duplicate. 

 

Result: Null Error crash in Action Rpg Character Base.

Expected: Successful duplication of Blueprint.

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

UE4Editor_GameplayAbilities!FGameplayAttributeData::GetCurrentValue() [d:\build\++ue4\sync\engine\plugins\runtime\gameplayabilities\source\gameplayabilities\private\attributeset.cpp:35]
UE4Editor_ActionRPG!ARPGCharacterBase::execGetHealth() [d:\build\++ue4\sync\localbuilds\actionrpg\windows\source\actionrpg\public\rpgcharacterbase.h:21]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4861]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:816]
UE4Editor_CoreUObject!UObject::execVirtualFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2436]
UE4Editor_CoreUObject!UObject::execLet() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2116]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1031]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:940]
UE4Editor_CoreUObject!UObject::execVirtualFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2436]
UE4Editor_CoreUObject!UObject::ProcessContextOpcode() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:2330]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1031]
UE4Editor_CoreUObject!UObject::CallFunction() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:940]
UE4Editor_CoreUObject!UObject::ProcessInternal() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1031]
UE4Editor_CoreUObject!UFunction::Invoke() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:4861]
UE4Editor_CoreUObject!UObject::ProcessEvent() [d:\build\++ue4\sync\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:1480]
UE4Editor_Engine!UAnimInstance::BlueprintUpdateAnimation() [d:\build\++ue4\sync\engine\intermediate\build\win64\ue4editor\inc\engine\animinstance.gen.cpp:670]
UE4Editor_Engine!UAnimInstance::UpdateAnimation() [d:\build\++ue4\sync\engine\source\runtime\engine\private\animation\animinstance.cpp:447]
UE4Editor_Engine!USkeletalMeshComponent::TickAnimation() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:1019]
UE4Editor_Engine!USkeletalMeshComponent::InitAnim() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:675]
UE4Editor_Engine!USkeletalMeshComponent::OnRegister() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:526]
UE4Editor_Engine!UActorComponent::ExecuteRegisterEvents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:1250]
UE4Editor_Engine!UActorComponent::RegisterComponentWithWorld() [d:\build\++ue4\sync\engine\source\runtime\engine\private\components\actorcomponent.cpp:987]
UE4Editor_Engine!AActor::IncrementalRegisterComponents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:4234]
UE4Editor_Engine!AActor::RegisterAllComponents() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:4133]
UE4Editor_Engine!AActor::PostSpawnInitialize() [d:\build\++ue4\sync\engine\source\runtime\engine\private\actor.cpp:2910]
UE4Editor_Engine!UWorld::SpawnActor() [d:\build\++ue4\sync\engine\source\runtime\engine\private\levelactor.cpp:467]
UE4Editor_Engine!UWorld::SpawnActor() [d:\build\++ue4\sync\engine\source\runtime\engine\private\levelactor.cpp:295]
UE4Editor_UnrealEd!FClassActorThumbnailScene::SpawnPreviewActor() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\thumbnailhelpers.cpp:1050]
UE4Editor_UnrealEd!UBlueprintThumbnailRenderer::Draw() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\thumbnailrendering\blueprintthumbnailrenderer.cpp:88]
UE4Editor_UnrealEd!ThumbnailTools::RenderThumbnail() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\objecttools.cpp:3857]
UE4Editor_UnrealEd!FAssetThumbnailPool::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\assetthumbnail.cpp:1039]
UE4Editor_UnrealEd!FTickableEditorObject::TickObjects() [d:\build\++ue4\sync\engine\source\editor\unrealed\public\tickableeditorobject.h:45]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1517]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3699]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentDocs - Samples
Affects Versions4.214.224.23
Target Fix4.23
Fix Commit6643676
Main Commit6955335
CreatedMay 16, 2019
ResolvedJun 3, 2019
UpdatedJul 19, 2019