Description

If an AnimNode connected with Enum and AnimBP is nativized, the package will occur crash.

Following settings is solve this issue.

[BlueprintNativizationSettings]
+ExcludedBlueprintTypes=/Script/Engine.AnimBlueprint

or
+ExcludedAssets=/Game/Mannequin/Animations/ThirdPerson_AnimBP

Steps to Reproduce
  1. Open attahced repro proj
  2. Do packaging with nativization
  3. Run the exe
  4. Crash

 

Callstack
Fatal error: [File:D:\Epic Games\UE_4.24\Engine\Source\Runtime\CoreUObject\Public\UObject/UnrealType.h] [Line: 5114] 
Failed to find ByteProperty TestEnum in DynamicClass /Game/Mannequin/Animations/ThirdPerson_AnimBP.ThirdPerson_AnimBP_C


KERNELBASE.dll!UnknownFunction []
ABPTest.exe!ReportAssert() []
ABPTest.exe!FWindowsErrorOutputDevice::Serialize() []
ABPTest.exe!FOutputDevice::LogfImpl() []
ABPTest.exe!FindFieldChecked<UByteProperty>() [d:\epic games\ue_4.24\engine\source\runtime\coreuobject\public\uobject\unrealtype.h:5117]
ABPTest.exe!UThirdPerson_AnimBP_C__pf2404374163::__CustomDynamicClassInitialization() [d:\unrealprojects\abptest\intermediate\plugins\nativizedassets\windows\game\source\nativizedassets\private\thirdperson_animbp__pf2404374163.cpp:695]
ABPTest.exe!UClass::CreateDefaultObject() []
ABPTest.exe!FAsyncPackage::EventDrivenCreateExport() []
ABPTest.exe!FAsyncPackage::ProcessImportsAndExports_Event() []
ABPTest.exe!<lambda_e32cbe457cdc707215184650c9a2ec42>::operator()() []
ABPTest.exe!FAsyncLoadingThread::ProcessAsyncLoading() []
ABPTest.exe!FAsyncLoadingThread::TickAsyncThread() []
ABPTest.exe!FAsyncLoadingThread::TickAsyncLoading() []
ABPTest.exe!FAsyncLoadingThread::FlushLoading() []
ABPTest.exe!LoadPackageInternal() []
ABPTest.exe!LoadPackage() []
ABPTest.exe!UEngine::LoadMap() []
ABPTest.exe!UEngine::Browse() []
ABPTest.exe!UGameInstance::StartGameInstance() []
ABPTest.exe!FEngineLoop::Init() []
ABPTest.exe!GuardedMain() []
ABPTest.exe!GuardedMainWrapper() []
ABPTest.exe!WinMain() []
ABPTest.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32.dll!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-85332 in the post.

1
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.23.1
Target Fix4.24.2
Fix Commit10863152
Main Commit10863157
Release Commit10863152
CreatedDec 3, 2019
ResolvedDec 20, 2019
UpdatedJan 9, 2023