Hello,
We’ve been hitting the ensureMsg in USceneComponent::DetachFromParent. Specifically, the assertion that AttachParent->AttachChildren.Contains(this).
This is because we are detaching a non replicated component from a replicated parent on both the client and the server.
The detachment on the server side causes the parent’s AttachChildren to be updated.
The parent’s AttachChildren is then replicated to the client.
After updating it’s AttachChildren, the client then performs the DetachFromParent some time later.
Since the client’s AttachChildren no longer contains the component, the assertion fails.
We can work around this issue for now but it would be great if this can be fixed and/or a note about this use case can be placed where the assertion is hit.
Many thanks