# I'm developing a game in a Listen Server environment, and I'm encountering an issue related to setting mesh transform values when using a class derived from ACharacter 

**URL:** <https://forums.unrealengine.com/t/im-developing-a-game-in-a-listen-server-environment-and-im-encountering-an-issue-related-to-setting-mesh-transform-values-when-using-a-class-derived-from-acharacter/2595268>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [July 7, 2025, 1:54pm UTC](https://forums.unrealengine.com/t/im-developing-a-game-in-a-listen-server-environment-and-im-encountering-an-issue-related-to-setting-mesh-transform-values-when-using-a-class-derived-from-acharacter/2595268 "2025-07-07T13:54:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeong8802](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jeong8802](https://forums.unrealengine.com/u/Jeong8802)\
**Post date:** [July 7, 2025, 1:54pm UTC](https://forums.unrealengine.com/t/im-developing-a-game-in-a-listen-server-environment-and-im-encountering-an-issue-related-to-setting-mesh-transform-values-when-using-a-class-derived-from-acharacter/2595268/1 "2025-07-07T13:54:42Z")

</div>

I’m developing a game in a **Listen Server environment** , and I’m encountering an issue related to setting mesh transform values when using a class derived from `ACharacter`.

### ✅ What works:

When I set the skeletal mesh and its transform in the **constructor** like this:

cpp

복사편집

```auto
GetMesh()->SetSkeletalMesh(SomeMesh);
GetMesh()->SetRelativeLocation(FVector(0.f, 0.f, -90.f));
GetMesh()->SetRelativeRotation(FRotator(0.f, -90.f, 0.f));

```

everything works as expected — all clients, including the host and connected players, see the correct mesh position and rotation.

* * *

### ❌ What fails:

However, if I try to set the mesh’s position and rotation in **`BeginPlay()`**, after loading mesh and animation data from a data table, the values appear to be **overwritten or reset** during runtime.

More specifically, in a Listen Server setup:

- The **host (server + client 0)** sees everything correctly.
- **Other clients** see the mesh at the default location `(0, 0, 0)` with no rotation applied.

Even using a replicated function like this doesn’t fix the issue:

cpp

복사편집

```auto
void ASurvivor::Server_MeshPos_Implementation()
{
    Multicast_MeshPos();
}

void ASurvivor::Multicast_MeshPos_Implementation()
{
    GetMesh()->SetRelativeLocation(FVector(0.f, 0.f, -90.f));
    GetMesh()->SetRelativeRotation(FRotator(0.f, -90.f, 0.f));
}

```

But the transform still seems to get overwritten for remote clients.

* * *

### ❓ Question:

Why does this happen, and how can I **correctly apply mesh transform values at runtime** (such as in `BeginPlay`) so that all clients, including remote ones, consistently see the correct mesh transform?

Any guidance would be appreciated!
