"Cast to" Failed ("Object" to child of "Object)

Thank you!
The problem is not in the initialization of the array, but in the initialization of the object.
Object has no spawn node, i thought it will initialize automatically.
I had to use construct node.

I guess I shouldn’t be using Object. Now i can’t get the type of the object.
I cannot find the GetType function, GetClass returns “Blueprint”.