Simple logic problem

TLDR: Select node needs both references but I only have references based on owner of this ability.
Does select node need valid references for selections it doesn’t take?

I am having problem with simple logic, I am getting a ref to BP Player and BP Enemy in my parent gameplay ability by casting from a reference of Get avatar owning actor, So whoever it is that is activating this ability. Later in the logic I am then trying to switch EITHER the player or the enemy with this select node, thinking that the Spawn actor for gameplay task would only be trying to get the reference from the path it is selecting but it seems to still need both, and now I am stuck. Please help and thanks for reading.

Hi,

Did u make first a IsValid test on ur both ref ?
If u are using Select Node and one of ur ref isnt valid, u would get error,

Just make 2 IsValid first,
or if ennemy ref isnt valid, so just take player ref,
make a pure function which return a ref actor, then make a IsValid of that