Hello everyone,
I am getting the error listed at the bottom of this message when packaging my project.
I’ve traced it to a particular situation. I created a custom Character Class called DBaseCharacterNew.cpp. In UE4 Editor I create a Blueprint that inherits from this DBaseCharacterNew called DBaseCharacter, adding some blueprint functionality to it, and to set this up as a base class for all characters in my project. From this point, all children of DBaseCharacter have the following hierarchy issue, where the root component is duplicated and nested in an odd manner.
The issue goes away if Type1 and Type 2 inherit directly from DBaseCharacterNew
Right below is the correct hierarchy of components
Any ideas what could be going on? If I reparent a class the fix/issue doesnt happen until I reload UE4 Editor.
LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: false [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp] [Line: 1897]
LogOutputDevice: Error: Template Mismatch during attachment. Attaching instanced component to template component. Parent ‘CollisionCylinder’ (Owner ‘Default__DBaseCharacter_C’) Self ‘CharacterMesh0’ (Owner ‘F_Flying11’).
LogOutputDevice: Error: Stack:
LogOutputDevice: Error: [Callstack] 0x00007ffbe67f5e43 UE4Editor-Engine.dll!<lambda_60714cfe82b80370bb04d993df7e28ef>::operator()() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp:1897]
LogOutputDevice: Error: [Callstack] 0x00007ffbe528d113 UE4Editor-Engine.dll!USceneComponent::AttachToComponent() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp:2132]
LogOutputDevice: Error: [Callstack] 0x00007ffbe52aae56 UE4Editor-Engine.dll!USceneComponent::OnRegister() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp:674]
LogOutputDevice: Error: [Callstack] 0x00007ffbe525b39e UE4Editor-Engine.dll!UPrimitiveComponent::OnRegister() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\PrimitiveComponent.cpp:606]
LogOutputDevice: Error: [Callstack] 0x00007ffbe530ef62 UE4Editor-Engine.dll!USkinnedMeshComponent::OnRegister() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SkinnedMeshComponent.cpp:491]
LogOutputDevice: Error: [Callstack] 0x00007ffbe52ab1a3 UE4Editor-Engine.dll!USkeletalMeshComponent::OnRegister() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\SkeletalMeshComponent.cpp:531]
LogOutputDevice: Error: [Callstack] 0x00007ffbe51bb8ea UE4Editor-Engine.dll!UActorComponent::ExecuteRegisterEvents() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1521]
LogOutputDevice: Error: [Callstack] 0x00007ffbe51ee337 UE4Editor-Engine.dll!UActorComponent::RegisterComponentWithWorld() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1219]
LogOutputDevice: Error: [Callstack] 0x00007ffbe4def2c2 UE4Editor-Engine.dll!AActor::IncrementalRegisterComponents() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Actor.cpp:4619]
LogOutputDevice: Error: [Callstack] 0x00007ffbe56ee25f UE4Editor-Engine.dll!ULevel::IncrementalUpdateComponents() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\Level.cpp:1097]
LogOutputDevice: Error: [Callstack] 0x00007ffbe619e580 UE4Editor-Engine.dll!UWorld::UpdateWorldComponents() [D:\Build++UE4\Sync\Engine\Source\Runtime\Engine\Private\World.cpp:1963]
LogOutputDevice: Error: [Callstack] 0x00007ffbe2ca2253 UE4Editor-UnrealEd.dll!UEditorEngine::Map_Load() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp:2766]
LogOutputDevice: Error: [Callstack] 0x00007ffbe2c917df UE4Editor-UnrealEd.dll!UEditorEngine::HandleMapCommand() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp:6199]
LogOutputDevice: Error: [Callstack] 0x00007ffbe2c7ac2f UE4Editor-UnrealEd.dll!UEditorEngine::Exec() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\EditorServer.cpp:5700]
LogOutputDevice: Error: [Callstack] 0x00007ffbe34fa427 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Exec() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdSrv.cpp:697]
LogOutputDevice: Error: [Callstack] 0x00007ffbe3009759 UE4Editor-UnrealEd.dll!FEditorFileUtils::LoadMap() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\FileHelpers.cpp:2554]
LogOutputDevice: Error: [Callstack] 0x00007ffbe3009568 UE4Editor-UnrealEd.dll!FEditorFileUtils::LoadDefaultMapAtStartup() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\FileHelpers.cpp:4043]
LogOutputDevice: Error: [Callstack] 0x00007ffbe3536ef0 UE4Editor-UnrealEd.dll!FUnrealEdMisc::OnInit() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdMisc.cpp:359]
LogOutputDevice: Error: [Callstack] 0x00007ffbe34f5f04 UE4Editor-UnrealEd.dll!EditorInit() [D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\UnrealEdGlobals.cpp:115]
LogOutputDevice: Error: [Callstack] 0x00007ff7d1ec0fbb UE4Editor.exe!GuardedMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:149]
LogOutputDevice: Error: [Callstack] 0x00007ff7d1ec121a UE4Editor.exe!GuardedMainWrapper() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
LogOutputDevice: Error: [Callstack] 0x00007ff7d1ed527d UE4Editor.exe!WinMain() [D:\Build++UE4\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:268]
LogOutputDevice: Error: [Callstack] 0x00007ff7d1ed7faa UE4Editor.exe!__scrt_common_main_seh() [d:\agent_work\5\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
LogOutputDevice: Error: [Callstack] 0x00007ffc60487034 KERNEL32.DLL!UnknownFunction
LogOutputDevice: Error: [Callstack] 0x00007ffc624626a1 ntdll.dll!UnknownFunction <