x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Mesh resets rotation on itself when respawning in standalone

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/

Any help would be appreciated, thank you in advance.

-SamuelB

Product Version: UE 4.17
Tags:
more ▼

asked Aug 11 '17 at 12:54 PM in Bug Reports

avatar image

Samuelb
283 9 19 22

avatar image Samuelb Aug 11 '17 at 01:42 PM

Ok so it just happend in editor see the picture:

alt text

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.

avatar image Samuelb Aug 12 '17 at 10:07 AM

Has anyone experienced something similar?

avatar image Samuelb Aug 15 '17 at 11:10 AM

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..

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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

more ▼

answered Aug 15 '17 at 05:08 PM

avatar image

Samuelb
283 9 19 22

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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 as you commented there. I'm putting this here for others in case they stumble on this first.

more ▼

answered Aug 15 '17 at 03:54 PM

avatar image

Parvan
131 5 7 8

avatar image Samuelb Aug 15 '17 at 04:58 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question