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"

Client controlled actor lags on client but not on host

Hello,

We experience a very curious phenomenon in our project.Our racing game combines splitscreen with online multiplayer. There are no dedicated servers, but one player hosts the game (using Steam as OnlineSubSystem) and others can join. Both clients and host can add local players as well, if they want to use splitscreen in order to play with others on one PC.

As far as we can tell, the replication works fine, except for a few minor details, we are currently looking into.

However, while on the host-side everything is fine and runs smoothly, on the client-side there is a significant lag of the client-controlled vehicle. The host-controlled vehicle, though, looks smoothly even on the client side...

We already tried to improve the replication concerning the net update frequency, the net priority and also the replicated movement, but so far without success.

Has anyone any idea what could cause such problems or what else we could try?

Product Version: UE 4.14
Tags:
more ▼

asked Nov 26 '16 at 12:04 PM in Using UE4

avatar image

Syrill
212 22 22 31

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

1 answer: sort voted first

I found the root of the problem at long last. It seems the issue was not the vehicle itself, but the Spring Arm Component we use to place the camera. It had camera lag and camera rotation lag enabled and somehow, this caused the lag on the client-side.

EDIT: I tried to find out, if others might had similar issues and it turns out, there actually was at least one such a case and it is a known issue...

more ▼

answered Nov 26 '16 at 01:06 PM

avatar image

Syrill
212 22 22 31

(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