Unable to assign Actor to editable member variable in editor details panel (UMG)

Hey , Would this be the same with say a PathNode? I am having a similar type of issue. I have a variable NextNode that when I spawn the AI, it no longer has its value, which would be the next node in the chain. I did use GetAllActorsOfClass and it worked for the first pathnode, but not after that. A little new at this so I am not really sure how to call the pathnodes in order for the AI to proceed down the path. it all works if I don’t spawn the ai and place them in the world, but I need them to spawn. And like the said, they loose their values.