Variable pulled out if set variable getting accessed none?

Hi guys. Im having an issue i hevenr seen before.

Im getting an accessed nobe error regarding a variable i had pulled out of a variable that i set on beginplay.

Ive only ever had this error on the variablebthat the string of variables starts wirh if its not set. Never on a variable i have pulled out of another variable that i have access to.

It dhould be noted that i use these same two variables in a riw in another place and i have never had a problem.

The first image is the node that gets the error. Tnw second image is me trying to set (promote) a new WMain Ref as the same variable that i pulled our of my controller ref.

I read something that says:

This is usually caused by having two events (Like say, On Key Press A and On Key Press B) in a blueprint
that have flow of control cross over between them.

But i dont inow if this is the problem. I am testing the code on a vutton press, however.

Can you guys help me figure out what id happening? I would very much appreciate it.

Thanks