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

4.8.1 Gameplay Cue Definition #84

Open DanteSSS333 opened 2 years ago

DanteSSS333 commented 2 years ago

I'm using a mixed replication ASC in my listen server game in UE 5.0.3 and On Removed does not fire twice for Gameplay Cue Actors (added via duration GEs). On Added does fire twice just like the documentation suggests. Is this an oversight in the documentation?

ameaninglessname commented 2 years ago

From what i know:

Did you apply the GE (which is stack-able) twice?

So this is intended, because it's the same tag, same cue.

Your second OnActive call is from a RPC explicitly.

DanteSSS333 commented 2 years ago

From what i know:

Did you apply the GE (which is stack-able) twice?

So this is intended, because it's the same tag, same cue.

Your second OnActive call is from a RPC explicitly.

The GE is only applied once and only by the Listen Server. According to the documentation, this should trigger both On Added and On Removed twice on the Listen Server for the GC associated with the GE (due to minimal effect replication netmulticast), however, from my testing, only On Added is called twice, On Removed is only called once (thankfully).