Ai move to object #2

I want to create a defense game where you have to guard an asset. For example minions are comeing to destroy my cube.
I have everything dont for the most part. i made enemy spawner. Made Ai to chase player or destroy target. Ai is chaseing me and attacking but it is not trying to kill my asset that i am guarding, that is cube a static mesh. in Ai graph i made a variable, changed type for cube reference and made Ai move to blueprint, but nothing. Ai moves to middle of room and stands.

Can some one please help me with this!

So everything has come to this. Spawned enemies dont have target. But non spawning targets do because i have manually made target object like in the image.
How can i make spawned ai automatically know the object?

You need beginner tutorials