Player animations slow down on listen server

have the same problem on 5.4.4 idk about 5.5 (just came out)

I managed to follow the the solution implemented by @EdditionX … and sadly it failed in my case

to be more specific it failed when I turn on network simulation (which is the way you should be testing the game)

for those who got confused on how to implement this he created 2 new classes one for the character and one for the player controller … in the character he overrids Possessedby (while keeping super) and changes bOnlyAllowAutonomousTickPose=false

this stops the animation being played in slow motion but it introduces very very bad judder … but that is not all another side effect of this is the character can no longer slide away from the capsule component and since the capsule always holds the truth ( even on the client) things get really bad

the second part is to override MoveAutonomous in the second class and commoent out TickCharacterPose() function … this for me stops the animation playing on listen server entirely

I tried calling TickCharacterPose() on every tick if it was the client running on the listen server and that got the jitter back … the animation where running at the right speed but it was really jittery

if you want to test this on an already set up blue print character … you can change the parent class in class defults and CharacterMovementComponent parent Class

if you are running it on 5.4 and got it running please let me know, for me I will test it on 5.5 (don’t expect much) and I will be moving to unity … loseing one year of work in unreal

by the way I found to bug reprots to epic about this same problem … both are old both marked solved and apperantly the solution is to make the animations run in slowmotion on the server

not that I did test it on a build as well … and it was bad even on lan netwroks

Note: if you wish to push further with the custome CharacterMovementComponent … you will need to do some dark magic copping varibles implemented in CharacterMovementComponent.cpp … which will run just find in editor but will fail to build … and there is a whole slow of includes that you need to add to your custome CMC

Good luck

2 Likes