# Does AnimMontage play on a dedicated server for the purpose of collisions?

**URL:** <https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561>\
**Category:** World Creation\
**Tags:** dedicated-server, capsule, unreal-engine, Physics, Collision, Blueprint, question\
**Created:** [May 30, 2014, 2:39am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561 "2014-05-30T02:39:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dartanlla](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dartanlla/32/724052_2.png) [@Dartanlla](https://forums.unrealengine.com/u/Dartanlla)\
**Post date:** [May 30, 2014, 2:39am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/1 "2014-05-30T02:39:32Z")

</div>

A friend and I have spent days trying to figure out this issue. Here is what we have: A player character with a collision sphere snapped to the hand\_l bone. As the player punches with an AnimMontage we want the sphere collider to fire an overlap event with other characters in a multiplayer environment. I am using RPC calls to generate the events up to the server and var notifies to replicate them back to other clients. The animations are correctly playing on all clients and I can see the sphere colliders moving with the punches.

When I run the game using 2 players and dedicated server unchecked it works fine and fires the overlap event correctly. I can punch on either the client or the client+server and it generates the correct overlap events. However, as soon as I check the dedicated server option, the overlap events no longer fire. I can step through the blueprints and watch the server side playing the AnimMontage, but yet the overlap event still does not fire. I also found that the overlap events do fire if overlapped in their original location (with the left hand at the side of the player). So I can only assume one of two things is happening.

Either the AnimMontage is not moving the skeleton on the dedicated server (maybe this is optimized out?) or the sphere collider is not moving with the mesh on the dedicated server.

If I am willing to have the collision be executed on the clients, this setup also works fine, but I need the server to be authoritative when it comes to attack collisions.

Any ideas??? Is there a way to have the dedicated server be a third window and show what is happening on the dedicated server?

\*For anyone trying to replicate this, there is an issue with the root capsule component of the character never firing overlap events. I have seen Epic staff elude to the fact that the root component collider is special somehow, so I got the overlap working by creating an exact copy of the capsule collider. Then the overlap events fired correctly (just not with dedicated server option checked).

---

<div class="post-metadata">

**Author:** ![Dartanlla](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dartanlla/32/724052_2.png) [@Dartanlla](https://forums.unrealengine.com/u/Dartanlla)\
**Post date:** [May 31, 2014, 4:17am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/2 "2014-05-31T04:17:44Z")

</div>

I finally figured it out!!! So I narrowed it down to the fact that the skeletal mesh was not animating on the dedicated server. I did this by creating a socket and printing the sockets transform location to the screen. With dedicated server turned off, it moved. With dedicated server turned on, the socket never changed location. So then I decided I would try changing every single setting on the skeletal mesh until it worked. Finally when I set “Mesh Component Update Flag” to “Always Tick Pose and Refresh Bones” it instantly worked perfectly and all of my collision events fired as expected!

---

<div class="post-metadata">

**Author:** ![Davixe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davixe](https://forums.unrealengine.com/u/Davixe)\
**Post date:** [September 6, 2014, 5:33pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/3 "2014-09-06T17:33:46Z")

</div>

Dude, you are just a genius! I have been more than a week with this issue, thankssss!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cb27a744](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cb27a744](https://forums.unrealengine.com/u/anonymous_user_cb27a744)\
**Post date:** [November 11, 2014, 6:41pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/4 "2014-11-11T18:41:18Z")

</div>

I’ve also been trying to get it to work for days, thanks for pointing it out.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_08753162](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_08753162](https://forums.unrealengine.com/u/anonymous_user_08753162)\
**Post date:** [August 13, 2015, 7:24pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/5 "2015-08-13T19:24:35Z")

</div>

Just stumbled across this post after days of rewriting replication code - this was the problem after all! Thank you

---

<div class="post-metadata">

**Author:** ![ruohki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ruohki](https://forums.unrealengine.com/u/ruohki)\
**Post date:** [August 18, 2015, 6:37pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/6 "2015-08-18T18:37:17Z")

</div>

You Sir. Deserve cookies… your entire life

---

<div class="post-metadata">

**Author:** ![2sneaky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@2sneaky](https://forums.unrealengine.com/u/2sneaky)\
**Post date:** [October 28, 2015, 9:00am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/7 "2015-10-28T09:00:37Z")

</div>

Well… I just wasted 6 hours working out what was causing havok with my aim system… and then I found this. Thank you, seriously, majorly. You rule.

---

<div class="post-metadata">

**Author:** ![Commander\_Shepard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Commander\_Shepard](https://forums.unrealengine.com/u/Commander_Shepard)\
**Post date:** [November 6, 2015, 9:07pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/8 "2015-11-06T21:07:23Z")

</div>

Holy Butter balls can’t believe I wasted 3 hours on this ■■■■! Thanks man

Hey Epic consider always update transform as default setting so as to prevent some noob frustations  
well part of me is guilty too because I didn’t try hard enough like he did trying to trace with sockets and stuff , but still it was nuts

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41b2dff8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41b2dff8](https://forums.unrealengine.com/u/anonymous_user_41b2dff8)\
**Post date:** [April 11, 2016, 6:40pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/9 "2016-04-11T18:40:33Z")

</div>

Can’t believe I spent hours this morning trying to figure this out. Thanks a million!

---

<div class="post-metadata">

**Author:** ![Karsten\_Maxim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Karsten\_Maxim](https://forums.unrealengine.com/u/Karsten_Maxim)\
**Post date:** [June 3, 2016, 1:48pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/10 "2016-06-03T13:48:36Z")

</div>

Thank You very much! It saves a lot of our time!

---

<div class="post-metadata">

**Author:** ![Parvan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/parvan/32/1137391_2.png) [@Parvan](https://forums.unrealengine.com/u/Parvan)\
**Post date:** [May 29, 2017, 7:59am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/11 "2017-05-29T07:59:06Z")

</div>

As the other said… Yes, indeed. Thank you for your time!

---

<div class="post-metadata">

**Author:** ![vloh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vloh](https://forums.unrealengine.com/u/vloh)\
**Post date:** [September 16, 2017, 7:58pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/12 "2017-09-16T19:58:16Z")

</div>

Hi, Thanks a lot for this hint. I also spent hours (or even days) trying to find out why my sword mechanics did not work on dedicated server. You saved me from going mad 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_cc52fb42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_cc52fb42](https://forums.unrealengine.com/u/anonymous_user_cc52fb42)\
**Post date:** [May 27, 2018, 6:24pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/13 "2018-05-27T18:24:38Z")

</div>

Thank you a lot =)

---

<div class="post-metadata">

**Author:** ![CatClicli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CatClicli](https://forums.unrealengine.com/u/CatClicli)\
**Post date:** [June 29, 2018, 6:49pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/14 "2018-06-29T18:49:30Z")

</div>

Sorry guys, but I can’t find this flag… anybody would be kind enough to tell me where it is? I’m losing it here.  
edit: ok i found it, but how could I make it default for a blueprint inheriting from Character?

---

<div class="post-metadata">

**Author:** ![Dasius1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dasius1/32/725298_2.png) [@Dasius1](https://forums.unrealengine.com/u/Dasius1)\
**Post date:** [October 9, 2018, 7:54am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/15 "2018-10-09T07:54:32Z")

</div>

Would you mind telling us where you found the Mesh Component Update Flag? Having trouble finding it myself.

---

<div class="post-metadata">

**Author:** ![CatClicli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CatClicli](https://forums.unrealengine.com/u/CatClicli)\
**Post date:** [October 16, 2018, 12:51pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/16 "2018-10-16T12:51:57Z")

</div>

Yes! sorry. You have to _select_ the Mesh on the Character Blueprint Viewport and _then_ you’ll find it on the right `details` dialog. You can search for “Component” on the search bar to filter, it’s under the `skeletal mesh` section

---

<div class="post-metadata">

**Author:** ![pelykh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pelykh](https://forums.unrealengine.com/u/pelykh)\
**Post date:** [April 17, 2019, 12:07pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/17 "2019-04-17T12:07:16Z")

</div>

It seems to be a bad idea to tick pose and refresh bones both for client and server even if actor is not rendered. If you gonna have a lot of skeletal meshes in the level then they are gonna tick all the time. It will cost a lot of cpu on both sides and your money that you gonna spend on dedicated servers.

I’m also using the same technique right now, but looking for something more optimized, because there gonna be 50+ actors with skeletal mesh so this option with kill my dedicated server. Have you found other solution for that problem?

---

<div class="post-metadata">

**Author:** ![Nesjett](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nesjett/32/918631_2.png) [@Nesjett](https://forums.unrealengine.com/u/Nesjett)\
**Post date:** [July 27, 2019, 1:02am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/18 "2019-07-27T01:02:36Z")

</div>

For the future:

This feature is now under “optimization” group and It’s called “Visibility based anim tick option”

---

<div class="post-metadata">

**Author:** ![Marquisd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marquisd](https://forums.unrealengine.com/u/Marquisd)\
**Post date:** [August 12, 2020, 11:52pm UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/19 "2020-08-12T23:52:48Z")

</div>

This answer saved me a lot of time. Thanks.

---

<div class="post-metadata">

**Author:** ![TheFlow3k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheFlow3k](https://forums.unrealengine.com/u/TheFlow3k)\
**Post date:** [October 7, 2020, 3:08am UTC](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561/20 "2020-10-07T03:08:56Z")

</div>

Hello pelykh,

I have the same problems and the same thoughts about that option. But did you ever found a answer /solution how to solve that problems?

I got a similar problems and AI pawn bones are not hitting player bones when no “server player” is rendering the client and the AI. Only “Visibility based anim tick option” solved it when set to tick on pose and bones.

My problem described here, but it is the same topic.  
[https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1437465-weird-issue-in-mp-only-on-dedicated-server](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1437465-weird-issue-in-mp-only-on-dedicated-server)

If you ever found out a better solution instead setting all 50+AI to that option, please tell us.  
Thanks a lot

[Next page](https://forums.unrealengine.com/t/does-animmontage-play-on-a-dedicated-server-for-the-purpose-of-collisions/284561.md?page=2)
