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"

Set world origin in multiplayer causes pawn stuttering

After updating the unreal engine from 4.19.2 to 4.21.2, a strange problem appeared.

Have a "Set World Origin" node triggered by a timer. Without a dedicated server, everything works smoothly, but on a dedicated server, this node stutters the pawn. It looks as if the pawn is teleported to a certain point, and then returns to the same place.

In project settings property "Enable Multiplayer World Origin Rebase" is set to True

Unreal Engine built from source. In previous version of engine all works fine

UPD. Also tried to enable "World composition" and "Enable World origin rebasing" in World Settings tab with the same result

UPD2. Set world origin logic looks like: alt text

UPD3. It seems like a bug in dedicated server. Link to vew a world origin rebase blueprint link text

Product Version: UE 4.21
more ▼

asked Apr 17 '19 at 08:09 AM in Using UE4

avatar image

3 1 3

avatar image FinalZer0 Apr 17 '19 at 02:19 PM

Where are you moving the pawn? I think you are moving pawn only on Client side, so that you see that client is new position, but in Server it's still there.

If your pawn is replicated then make custom event node that has "Run on server" selected and change Pawn position from there

alt text

avatar image DarkSeraphim88 Apr 18 '19 at 09:21 AM

Client only get input information and send it on server. All pawns moves only on server, then all client gets pawn positions from server with replication alt text alt text alt text alt text

In Unreal Engine v4.19.2 that works fine

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

1 answer: sort voted first

Found a workaround for this issue

Disable movement replication in networking section of pawn and write my own movement replication logic

alt text alt text alt text

more ▼

answered May 10 '19 at 08:32 AM

avatar image

3 1 3

avatar image DarkSeraphim88 Jun 12 '19 at 08:11 AM

This Issue on Issue Tracker Issue ID UE-75990

(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