Adding hit result to Effect Context in GAS

Hello, i’ve encountered some weird behavior with the GAS system, particularly adding a hit result to an effect context, that i am trying to understand.

im trying to spawn a gameplay cue actor with hit data at the location of a projectile impact. here was my logic, summarized:

1.) the firing ability spawns projectile, and feeds it the effect spec handle on spawn.
2.) projectile detects the hit and applies the spec
3.) projectile executes the cue

the cue needs hit data, so we have to add that to the parameters, aka the effect context. so we should be able to take our spec, get the effect context, promote it to a variable, add the hit result to it, and shazzam, we have a context with hit data ready to pass to the cue.

however i quickly found that this was not the case. the context contained no hit data.
the chain was as follows
ability makes spec->spawn projectile and pass it spec->projectile creates context from that spec->promote to variable, addhitresult node.
this didnt work.

but this did:
ability makes spec->ability makes context->spawn projectile and feed it spec and context->addhitresult to the context

im sorry but this makes no sense to me at all. how is
ability spec->ability context->projectile
fundamentally different from
ability spec->projectile->projectile context?

is there some key principle im missing? perhaps a networking issue? if anyone has any idea please let me know, im trying my best to understand this system at its core.

Hello, I also just have the exact same set up as yours and I also have this problem now… I first use make outgoing GE spec node - assign tag set by caller magnitude - get effect context - add hit result - apply GE spec to target and test the GE execution calc. In my case the context is valid but the hit result is false (or null) when I used .gethitresult(). I solved it now by set new variable after the assign tag set by caller node, so I think you might need to set the GE spec handle to a variable then use that variable plug in to GE spec to target