In this blueprint, I have created variables for my PlayerClass (Character) and my enemy class (Character). I am trying to get their locations so I know how close they are. But doing so gives me the following error. I tried casting but then I do not know what to put on the left"Object" side of the pin.
I think I will need a reference to put it on the left “Object” side of the pin. How do I get the reference. I cannot spawn them since they are already in the level.
Access none errors can be a pain sometimes. If you don’t get a few of these a day, then the day isn’t over yet. I still struggle with these sometimes. Whenever you get this one, just see how your variable is being set. I won’t be boring you with stuff since I’m self learning UE4 but here’s the solution to get your reference. I tested that just now, works fine for me.