Description

When using a Sub Anim Instance node that uses an exposed variable and another exposed variable in the animation Blueprint that is set as the Instance Class in the Sub Anim Instance node, the editor crashes when played in standalone
-Occurs when the variables have different naming conventions

Steps to Reproduce
  1. Download attached project
  2. Play in standalone
  3. See crash

or

#Create a thirdperson project

  1. Create a new Anim Blueprint based off of the mannequin skeleton(Not a parent Bp)
  2. Create a new variable in the new Blueprint and expose it
  3. Open the ThirdPerson_AnimBP
  4. Add a Sub Anim Instance node and connect it to the final pose
  5. Set the Sub Anim Instance node's Instance Class to the new Blueprint
  6. Create a new variable
  7. Expose the variable to the Sub Anim Instance node in the Details panel(see screenshot)
  8. Compile and save
  9. Launch in standalone
  10. Observe crash

Expected: Standalone does not crash
Results: Standalone crashes

Callstack
LoginId:bdcd2df1437ec38ad0d19c85e30ff2d1
EpicAccountId:1ed52ca976af4368b6c30d11b7cdc18f

Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) [File:D:\Build\++UE4+Release-4.19+Compile\Sync\Engine\Source\Runtime\CoreUObject\Public\UObject/UnrealType.h] [Line: 351] 'Default__ThirdPerson_AnimBP_C' is of class 'REINST_ThirdPerson_AnimBP_C_1' however property '__SUBINSTANCE_NewVar_0_9317C8284CF8D34BA3B83CBCBA860813' belongs to class 'TRASHCLASS_ThirdPerson_AnimBP_7'

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:419]
UE4Editor_Engine!FExposedValueHandler::Initialize() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animnodebase.cpp:555]
UE4Editor_Engine!UAnimInstance::PreInitializeRootNode() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\animation\animinstance.cpp:2759]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:989]
UE4Editor_CoreUObject!EndLoad() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1595]
UE4Editor_CoreUObject!LoadPackageInternal() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1339]
UE4Editor_CoreUObject!LoadPackage() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1436]
UE4Editor_Engine!UEngine::LoadMap() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\unrealengine.cpp:10889]
UE4Editor_Engine!UEngine::Browse() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\unrealengine.cpp:10373]
UE4Editor_Engine!UGameInstance::StartGameInstance() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\engine\private\gameinstance.cpp:440]
UE4Editor!FEngineLoop::Init() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2759]
UE4Editor!GuardedMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\launch.cpp:153]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:144]
UE4Editor!WinMain() [d:\build\++ue4+release-4.19+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:223]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
kernel32
ntdll

Have Comments or More Details?

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

12
Login to Vote

Fixed
ComponentOLD - Anim
Affects Versions4.19.24.20
Target Fix4.20
Fix Commit4109096
Main Commit4124555
Release Commit4109096
CreatedMay 23, 2018
ResolvedJun 4, 2018
UpdatedJun 12, 2018
View Jira Issue