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"

How to reduce internet lag for multiplayer servers?

I really need to reduce lag on my game. I'm currently only using listen servers but plan to use dedicated servers eventually. It's a sports game which means it really needs a good connection for the gameplay to feel good. Currently, it's mostly unplayable due to the amount of lag. I believe my blueprints are optimized but I'm not an expert so I'm not sure. I'm just hosting the servers from my personal computer, and my internet is okay but not that good. I imagine that could play a big part in the lag. So what are some ways that I can improve this to reduce the lag?

Also, how big of a difference would it be if I setup a dedicated server from a source code build and paid a company to host it? Is there some sort of technical difference regarding the ISP that a server hosting company would have to improve connection that I don't with my personal internet? Any info is appreciated.

Product Version: UE 4.19
more ▼

asked Jul 07 '18 at 07:23 PM in Blueprint Scripting

avatar image

40 6 17 22

avatar image Przemek2222 Jul 07 '18 at 08:13 PM

Hello, I'm not expert but you should make sure you are replicating (on server) only blueprints that realy require it. You don't need to replicate cosmetic blueprints, you can chose some class to be done only on server/client. Then you can try to run Server and launch some other game clients on same PC and connect them localy if it will lag then you will be sure that your internet isn't good for hosting.


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

1 answer: sort voted first

As Przemek said replicate only things you need, make client do all (that it can) things that does not effect gameplay and UI should be fully on client side and optimizing game overall should speed up things, remember that server is the one processing game state so if this is slow it ends up to lentecy, also server specs effect that too ofcorse. If you mean ping, connection have natural lentecy since data routing takes time too, ping your server to see what lantecy you have and compire it with the ping in the game.

more ▼

answered Jul 07 '18 at 11:05 PM

avatar image

35.2k 921 166 1098

(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