ive checked alot of different topics around net for this problem and havent found fix for it. so all clients who connects to listen server over online are getting this weird lag on movement, its annoying and not fun to play. (also on lan but not so bad) characters are parented from “character class”. basic movement setup with replications. nothing special. i feel like its lagging only when character runs some other direction than straight forward… i have also tried to tick “use controller desired rotation” and “orient rotation on movement” with no luck. anyone who knows this problem?
thanks.
Hey there, i would try to first try to minimize the amount of code that is running the movement code, so for now try unhooking the paused? branch, camera shake, gate, etc and just call the add movement input and see if that helps.
just formatted my pc totally 2 days ago, did a new copy from project also. there is some code in the project, game modes, states, player states, many variables and stuff. game is running perfectly with high fps / network code works well and stat net gives green only. client character is just lagging always.
I would suggest to try it on a clean project based on the template you used just to make sure there is nothing wrong with the project. If that works i would try to use the default game state / game mode / player state, to see if something is interfering with the client. If that doesnt fix then i would create a very basic character deriving from ACharacter with just a simple skeletal mesh with no animations and see if that helps.
project is created on clean with starter content, and im too lazy to start adding multiplayer system for clean project. also theres code that much in modes and states so im gonna check every node now through before i start copy all that… just noticed that all my gamestates and modes i had disabled the tick stuff on start, no clue if that has an effect for it. changing graphics settings ingame will remove that weird lag but only on local machine 2 screens.
if this setup doesnt work over online i will try that new character thing.
enough for today, tomorrow more investigation.
before that didnt fix it for me because i had replication on other components too, camera, capsule component etc… remember to disable those too! thanks so much.