# Defaut replication setting in ACharacter

**URL:** <https://forums.unrealengine.com/t/defaut-replication-setting-in-acharacter/2237977>\
**Category:** C++\
**Tags:** unreal-engine, CPP, question\
**Created:** [December 23, 2024, 3:38am UTC](https://forums.unrealengine.com/t/defaut-replication-setting-in-acharacter/2237977 "2024-12-23T03:38:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![likemango2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/likemango2/32/1011086_2.png) [@likemango2](https://forums.unrealengine.com/u/likemango2)\
**Post date:** [December 23, 2024, 3:38am UTC](https://forums.unrealengine.com/t/defaut-replication-setting-in-acharacter/2237977/1 "2024-12-23T03:38:55Z")

</div>

For a child class of `ACharacter`，when I call detach() or attach() functions on its `SkeletonMeshComponent`，it will replicate to the client automaticlly, but I never set `bIsReplicated = true`.

I have dive into the source code of `SkeletonMeshComponent`, but I can not find any specific setting such as `bIsReplicated = true` in `SkeletonMeshComponent` neither parent class `SceneComponent`.

**What happend behind and how?**
