# Mesh resets rotation on itself when respawning in standalone

**URL:** <https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838>\
**Category:** Blueprint\
**Tags:** bug, unreal-engine, bug-report, UE4, Blueprint, question\
**Created:** [August 11, 2017, 12:54pm UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838 "2017-08-11T12:54:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [August 11, 2017, 12:54pm UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/1 "2017-08-11T12:54:02Z")

</div>

Hey

I had an issue earlier with my multiplayer game, in my character inherited bps, the issue was every time i reopened my project, some of the my inherited characters either had their mesh rotation reset to 0 ( i have them set to -90) and/or the collision preset was reset from ragdoll to character mesh. This issue was fixed when migrating to 4.17.

However, now i’m getting a strange bug: 4/66 rounds ( rounds meaning the game restarts and players join the level again through console command servertravel) the host players mesh rotation is reset on the clients screen, but everything is fine on the host screen.

I’m wondering if this new bug (if it even is a engine bug) is related to the issue i was having before. The tests i was doing was in the packaged project using 2 computers. I realized this will be pretty hard to reproduce, the game logic in my game is based off the multiplayer tutorial example made in 4.10.4.  
This tutorial: [https://docs.unrealengine.com/latest/INT/Videos/PLZlv\_N0\_O1gYqSlbGQVKsRg6fpxWndZqZ/abmzWUWxy1U/](https://docs.unrealengine.com/latest/INT/Videos/PLZlv_N0_O1gYqSlbGQVKsRg6fpxWndZqZ/abmzWUWxy1U/)

Any help would be appreciated, thank you in advance.

-SamuelB

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [August 11, 2017, 1:42pm UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/2 "2017-08-11T13:42:10Z")

</div>

Ok so it just happend in editor see the picture:

 ![193495-meshrotationissue.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/8/4/c84a37865e3c988c6cac647e2fa64cd33e6a38cd.png)

Behold my paint skills! this is the issue that occurs, this is the first time it happened in editor mode after pressing play.

I checked all the characters mesh rotations and they where all set correctly.

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [August 12, 2017, 10:07am UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/3 "2017-08-12T10:07:56Z")

</div>

Has anyone experienced something similar?

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [August 15, 2017, 11:10am UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/4 "2017-08-15T11:10:33Z")

</div>

Would be really nice to get some info regarding this… I’ve moved to manually setting the rotation on event begin play instead of setting it in the parent transform, still uncertain if this fixes the issue…

---

<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:** [August 15, 2017, 3:54pm UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/5 "2017-08-15T15:54:14Z")

</div>

Is it only your mesh that is off? While your capsule and whatnot is replicating correctly? That is what is happening in bug [UE-45947](https://answers.unrealengine.com/questions/617798/character-mesh-position-desync-in-online-sessions.html) as you commented there. I’m putting this here for others in case they stumble on this first.

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [August 15, 2017, 4:58pm UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/6 "2017-08-15T16:58:12Z")

</div>

Hey thanks for answering, yes its only the mesh that was off as shown in the picture above, there seems to be no issue with the capsule etc replication. I think I’ve fixed the issue myself earlier today, but forgot to confirm the answer. Thanks for taking the time to read my question anyways. =)

-SamuelB

---

<div class="post-metadata">

**Author:** ![Samuelb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Samuelb](https://forums.unrealengine.com/u/Samuelb)\
**Post date:** [August 15, 2017, 5:08pm UTC](https://forums.unrealengine.com/t/mesh-resets-rotation-on-itself-when-respawning-in-standalone/401838/7 "2017-08-15T17:08:14Z")

</div>

So far, based on the tests we conducted today, we played around 200 rounds and we weren’t able to see the bug again after I changed a couple things. We are using 8 child class characters that inherit from the parent class, earlier I had it setup so the parent classes transform Z rotation was set to -90. I changed it so the that everything is set to 0, and (in the parent bp’s eventgraph) on event begin play I set the meshes relative rotations z value to be -90.

A relatively simple fix, I’m still kinda skeptical that we wont run into the issue again, but so far it seems to fix the issue.

-SamuelB
