tranek / GASDocumentation

My understanding of Unreal Engine 5's GameplayAbilitySystem plugin with a simple multiplayer sample project.
MIT License
4.52k stars 819 forks source link

[Fix] fire projectiles in multiplayer #115

Closed sheep0729 closed 1 year ago

sheep0729 commented 1 year ago

Tests on my own computer: When playing on a 2-player listen server, the client cannot fire while aiming. If there are three players, the second client cannot fire at all.

I believe the cause of this issue is that the server is not receiving the first anim nofity from fire montages. I changed the montage tick type of Event.Montage.SpawnProjectile from "Queued" to "Branching Point", and it seems to work.

I also unchecked "Should Fire in Editor"s to get rid of error logs when launching the editor.

Thanks.

sheep0729 commented 1 year ago

related issue: https://github.com/tranek/GASDocumentation/issues/111

tranek commented 1 year ago

Hi, thanks for the pull request. I see one of your changes upgrades to 5.3. I'm not supporting 5.3 just yet, so I can't accept this PR as I don't want to upgrade the whole project to 5.3 yet.

sheep0729 commented 1 year ago

Sorry, It was a mistake I made yesterday. I pushed a lot of irrelevant commits.