#Predicted client desync with server. Moving at much faster speeds.

13 messages · Page 1 of 1 (latest)

viscid rose
#

Version: 4.4.7
Video of issue: https://outplayed.tv/media/KEVElB
Source code: https://gist.github.com/JohnYuZhang/055d6b315f57f7e3aa476259b9f031b3
I implemented a basic player controller with predication. All component settings should be default aside from the prediction flag on the network object.

The movement is correct on the server and if the client is hosting but the owner client's movement is significantly faster and not clamping to the max speed or reconciling correctly.

Outplayed - The ultimate capture app for gamers

Outplayed - The ultimate capture app for gamers. While playing, it automatically captures your best moments and biggest plays. When the match is over, relive your best (and not so best) moments by watching them in the match timeline.

▶ Play video
Gist

Prediction. GitHub Gist: instantly share code, notes, and snippets.

slender palm
#

Hi there, did you set your TimeManager mode?

viscid rose
#

Thank you @slender palm. I forgot to override the prefab before reuse.

#

I started playing around with the settings but couldn't get the character to move smoothly without a 60 tick rate. I feel like it's a bit overkill for my game as it's a party shooter with projectile motion (archery) and not a fps. Is there a setting to adjust in particular to limit movement jitter other than the tick rate?

slender palm
#

Are you utilizing the graphical object?

viscid rose
#

Yes, Here are my component settings

slender palm
#

And you aren't using a NetworkTransform, correct?

viscid rose
#

Yes body is the capsule and I don't have a network transform on the player prefab

#

Here's the movement I'm talking about.

#

Note on stop for the non controlled client at the bottom, there's a slowdown then reaccelerate into stop. It's almost like the second client stopped at the correct time but incorrect position and it reconciled.

viscid rose
#

Marking as solved for now. Will tweak the config once I understand the settings more. Thanks for your help @slender palm .