# Replicating Animations from Client to server

**URL:** <https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, Multiplayer, Blueprint, question, replicating\
**Created:** [January 18, 2023, 12:40pm UTC](https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010 "2023-01-18T12:40:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruigol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruigol/32/964789_2.png) [@ruigol](https://forums.unrealengine.com/u/ruigol)\
**Post date:** [January 18, 2023, 12:40pm UTC](https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010/1 "2023-01-18T12:40:20Z")

</div>

I can’t understand what I’m doing wrong here…

I just want my character animations to replicate. Currently, they replicate from server to client (shown on both) but not from client to server (shown on client only).

Here is my Character BP logic for replication (all relevant variables are replicated)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/6/a/46a9db0fd84bd10c8fc329e89921bfa7b73bc534.png)

Here is a slightly more zoomed out view to get the general gist (not an ideal method but it works for now)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/3/9/939f57cb012e6ecf5ac7bccf26e5309f4e9ad652.jpeg)

Here are the replication settings in class defaults in my character BP  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/e/c6e5867cf34aafee6d0e364dc9e03729fc047fdb.png)

Here is my animbp event graph (showing how I make a local copy of the replicated enum, the local copy then determines the state changes)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/6/7b6a6baf736318c6a6fdf22d501d4b8473ea92c6.png)

If anyone can tell me why it doesn’t replicate from client to server that would be great!

---

<div class="post-metadata">

**Author:** ![ruigol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruigol/32/964789_2.png) [@ruigol](https://forums.unrealengine.com/u/ruigol)\
**Post date:** [January 18, 2023, 6:18pm UTC](https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010/3 "2023-01-18T18:18:56Z")

</div>

No one knows?

---

<div class="post-metadata">

**Author:** ![ruigol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruigol/32/964789_2.png) [@ruigol](https://forums.unrealengine.com/u/ruigol)\
**Post date:** [January 18, 2023, 6:33pm UTC](https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010/4 "2023-01-18T18:33:41Z")

</div>

Found it.

For anyone else, this was the solution:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/1/531adf8b698da6b7e6c6c9e235abbf2024fa0140.jpeg)

---

<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:** [January 18, 2023, 6:40pm UTC](https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010/5 "2023-01-18T18:40:42Z")

</div>

Seems like you are trying to create the equivelent of event graphs in the animinstance on the character level.

Why not just pass the used bools to the anominstance and use transitions based on these bools to change played animations.

Please don’t use tick to sent information to the server. It will flood your network traffic and not work.

Try having an action enum that you can change and have if call an on rep replication that will trigger the state change passing in parameters to the animinstance and there drive the animations with event graphs and animation states

---

<div class="post-metadata">

**Author:** ![ruigol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ruigol/32/964789_2.png) [@ruigol](https://forums.unrealengine.com/u/ruigol)\
**Post date:** [January 24, 2023, 2:20pm UTC](https://forums.unrealengine.com/t/replicating-animations-from-client-to-server/752010/6 "2023-01-24T14:20:34Z")

</div>

thanks ill look into that method!
