# SkinnedMeshComponent.cpp error?

**URL:** <https://forums.unrealengine.com/t/skinnedmeshcomponent-cpp-error/1183860>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, editor, question\
**Created:** [May 30, 2023, 9:29pm UTC](https://forums.unrealengine.com/t/skinnedmeshcomponent-cpp-error/1183860 "2023-05-30T21:29:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard\_Furfunz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Richard\_Furfunz](https://forums.unrealengine.com/u/Richard_Furfunz)\
**Post date:** [May 30, 2023, 9:29pm UTC](https://forums.unrealengine.com/t/skinnedmeshcomponent-cpp-error/1183860/1 "2023-05-30T21:29:34Z")

</div>

Hi guys,

I’ve been trying to package my game for the past couple of days on both UE5.1 and UE5.2 thing is, I’ve run into an error that’s stopping me from compiling:

> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: begin: stack for UAT  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: === Handled ensure: ===  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error:  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: Ensure condition failed: false [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\Components\SkinnedMeshComponent.cpp] [Line: 2312]  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: SetLeaderPoseComponent detected loop (the input Leader pose chain point to itself. (Mesh ← Mesh)). Aborting…  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: Stack:  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56efbfd1 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56edf4e2 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56edecf5 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56cf66a5 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56d2ecc1 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56cd36ed UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56ddf773 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56ddf4cd UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56cd3132 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc566f89f3 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc56721470 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc574324d5 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc574327f7 UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc5853813c UnrealEditor-Engine.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc53424a8c UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc5343446b UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc5322db8f UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc5321f589 UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc532362f8 UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc53235c1a UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc52f75402 UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffc52f944a1 UnrealEditor-UnrealEd.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff70d0fd0de UnrealEditor-Cmd.exe!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff70d0f454b UnrealEditor-Cmd.exe!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff70d0f482a UnrealEditor-Cmd.exe!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff70d0f74f0 UnrealEditor-Cmd.exe!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff70d10a4c4 UnrealEditor-Cmd.exe!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ff70d10cb76 UnrealEditor-Cmd.exe!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffccde926ad KERNEL32.DLL!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: [Callstack] 0x00007ffcce9aa9f8 ntdll.dll!UnknownFunction   
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: end: stack for UAT  
> UATHelper: Packaging (Windows): LogInit: Display: LogOutputDevice: Error: SetLeaderPoseComponent detected loop (the input Leader pose chain point to itself. (Mesh2 ← Mesh2)). Aborting…

Before this error I had been faced with an error about MetaHumans which I have experienced before. The way I solved this error was by doing what [this post](https://forums.unrealengine.com/t/metahuman-pose-driver-error/560478/9) had said. Thing is upon doing this, I was faced with other errors which I am unsure if they are related.

If anyone has any insight on how to fix this, it would be much appreciated

– Richard F

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [May 30, 2023, 10:03pm UTC](https://forums.unrealengine.com/t/skinnedmeshcomponent-cpp-error/1183860/2 "2023-05-30T22:03:36Z")

</div>

> [@Richard\_Furfunz](#):
>
> SetLeaderPoseComponent

```auto
SetLeaderPoseComponent detected loop (the input Leader pose chain point to itself. (Mesh ← Mesh))

```

It seems like you might have the same mesh component hooked up to the SetLeaderPoseComponent’s “target” pin and “New Leader Bone Component” pin.

The Leader Bone component is the one driving the meshes that go into the target node.  
If you hook it up to both you cause an infinite loop.

You need to unhook the main body part from the target pin of SetLeaderPoseComponent.

---

<div class="post-metadata">

**Author:** ![Richard\_Furfunz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Richard\_Furfunz](https://forums.unrealengine.com/u/Richard_Furfunz)\
**Post date:** [May 30, 2023, 10:56pm UTC](https://forums.unrealengine.com/t/skinnedmeshcomponent-cpp-error/1183860/3 "2023-05-30T22:56:47Z")

</div>

You’re absolutely right,

I just looked up all references of SetLeaderPoseComponent, located the issue which was Mesh connecting into SetLeaderPoseComponent, and same with a Mesh2 that also had the same issue.

Fixed my issue, thank you!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [June 29, 2023, 10:57pm UTC](https://forums.unrealengine.com/t/skinnedmeshcomponent-cpp-error/1183860/4 "2023-06-29T22:57:01Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
