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"

Network movement replication choppy on server

I am networking a simple movable character, but the replication of the client's movement, is choppy on the server.

I have recorded the behaviour for both my own project, but also the standard FPS project. The server is on the left and the client is on the right. Notice the choppy movement on the server (left), when I am controlling the client (right)

Watch it in 1080@60 fps

My project: https://www.youtube.com/watch?v=gSKSTOwc2bA

FPS project https://www.youtube.com/watch?v=JHMOuJmyjmo

Any ideas, what is going on?

Product Version: UE 4.17
Tags:
more ▼

asked Sep 17 '17 at 11:53 AM in Blueprint Scripting

avatar image

Tsanas
1 1 2 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Appears that this is an engine bug:

https://issues.unrealengine.com/issue/UE-32005

https://issues.unrealengine.com/issue/UE-3948

Current workaround is to set p.NetEnableMoveCombining 0 As mentioned here: https://answers.unrealengine.com/questions/524604/listen-server-host-lag.html

---- EDIT: ----

According to a post here:

https://forums.unrealengine.com/unreal-engine/feedback-for-epic/1346282-impossible-use-ue4-for-a-coop-or-mp-listen-server-game-due-the-unfixed-network-errors-since-4-years

Listen server smoothing for client meshes was added in release 4.12. The issue that is backlogged is for forward prediction of the capsule position. If something is attached to the capsule it will not be smoothed, but the mesh is, so we recommend anything that is attached and needs to be smoothed be attached to the mesh. If there are cases where this is not working correctly, please let us know!

This means, this is incorrect and will not smoothe the Cube+StaticMesh

Incorrect

Where this is correct, smoothing the Cube+StaticMesh

Correct

nope.png (11.5 kB)
yep.png (12.1 kB)
more ▼

answered Sep 17 '17 at 02:46 PM

avatar image

Tsanas
1 1 2 3

(comments are locked)
10|2000 characters needed characters left
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