# AttachmentReplication crash

**URL:** <https://forums.unrealengine.com/t/attachmentreplication-crash/371522>\
**Category:** C++\
**Tags:** unreal-engine, crash, UE4, CPP, question\
**Created:** [September 24, 2016, 8:51pm UTC](https://forums.unrealengine.com/t/attachmentreplication-crash/371522 "2016-09-24T20:51:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HailstoneRyan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HailstoneRyan](https://forums.unrealengine.com/u/HailstoneRyan)\
**Post date:** [September 24, 2016, 8:51pm UTC](https://forums.unrealengine.com/t/attachmentreplication-crash/371522/1 "2016-09-24T20:51:02Z")

</div>

Refers to UE-26025. Any updates on this?

Currently crashing on connected clients whenever I attach and then detach a replicated component on the authority.

```
Script Stack:
Actor.OnRep_ReplicatedMovement

Ensure condition failed: !bRegistered || GetAttachParent()->GetAttachChildren().Contains(this) [File:C:\Users\ryanl\Development\UnrealEngine_Source\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1812] 
Attempt to detach SceneComponent 'StickMesh' owned by 'BP_HockeyStick_2' from AttachParent 'MotionController' while not attached.
[2016.09.24-20.42.37:218][485]LogOutputDevice:Error: Ensure condition failed: !bRegistered || GetAttachParent()->GetAttachChildren().Contains(this) [File:C:\Users\ryanl\Development\UnrealEngine_Source\Engine\Source\Runtime\Engine\Private\Components\SceneComponent.cpp] [Line: 1812]
[2016.09.24-20.42.37:218][485]LogStats: FDebug::EnsureFailed - 0.001 s
goalievr-Win64-DebugGame.exe has triggered a breakpoint.
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [September 26, 2016, 12:50pm UTC](https://forums.unrealengine.com/t/attachmentreplication-crash/371522/2 "2016-09-26T12:50:40Z")

</div>

Hey overlawled,

The current status of UE-26025 is that it is “in progress”, or being worked on. There is no information on when it’ll be fixed or what future engine release it will be in.

---

<div class="post-metadata">

**Author:** ![Duetoxplode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Duetoxplode](https://forums.unrealengine.com/u/Duetoxplode)\
**Post date:** [September 26, 2016, 3:51pm UTC](https://forums.unrealengine.com/t/attachmentreplication-crash/371522/3 "2016-09-26T15:51:48Z")

</div>

Is there any workaround for this crash? Currently preventing me from attaching anything that is being replicated as it causes all connecting clients to crash.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61b4a355](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61b4a355](https://forums.unrealengine.com/u/anonymous_user_61b4a355)\
**Post date:** [September 26, 2016, 3:58pm UTC](https://forums.unrealengine.com/t/attachmentreplication-crash/371522/4 "2016-09-26T15:58:33Z")

</div>

There is no work around posted internally.

All the information I can find is exposed publicly on the issue report page:

[https://issues.unrealengine.com/issue/UE-26025](https://issues.unrealengine.com/issue/UE-26025)
