Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation desync after moving for other players #49

Closed
brittanft opened this issue Aug 31, 2020 · 6 comments
Closed

Rotation desync after moving for other players #49

brittanft opened this issue Aug 31, 2020 · 6 comments
Labels
bug Something isn't working replication Replication related issues

Comments

@brittanft
Copy link

brittanft commented Aug 31, 2020

https://streamable.com/agdp1m

Steps to reproduce:
On one client, turn in place then walk. The character's rotation will snap back to its previous value upon movement. Can be seen around 10 seconds in the above clip quite clearly.

@senfkorn92 Have you encountered this issue or know a temporary fix?

@brittanft brittanft changed the title When moving, rotation desync on non-local clients Rotation desync after moving for other players Sep 1, 2020
@senfkorn92
Copy link
Contributor

Thanks for bringing up the issue. It seems like the server isn't updating its rotation during turn in place when playing on dedicated server. I'll look into it further and update the repo as soon as I come up with a fix

@senfkorn92
Copy link
Contributor

Seems this is an optimization issue. To fix it change the VisibilityBasedAnimTickOption of the character mesh in the als character bp to AlwaysTickPose/AlwaysTickPoseAndRefreshBones

@brittanft
Copy link
Author

@senfkorn92 That appears to fix the rotation issue! Thanks a lot for looking into it.

@senfkorn92
Copy link
Contributor

Just a friendly warning, changing the setting gives a huge toll to performance so I would suggest you to only change it while turning in place 😊

@dyanikoglu
Copy link
Owner

Thanks for bringing this on, I think one of my recent commits enabled the visibility based tick optimization. I will disable it while in-place rotation is ongoing as a solution to this bug.

@dyanikoglu
Copy link
Owner

Well, with one of the recent versions , I have disabled visibility based optimizations, this should solve the issue.

@dyanikoglu dyanikoglu added bug Something isn't working replication Replication related issues labels Oct 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working replication Replication related issues
Projects
None yet
Development

No branches or pull requests

3 participants