So you have made a BP of your MyClass and added it to the Array manually?
Now when you start the game, the RefOfMyClass[0] is NULL although you definitly added something?
How do you add the class? Just going into the BP Options and chosing it?
Maybe you need “EditAnywhere” in your UPROPERTY so that the Array can be edited.
Can you show me the part where you add something to the array?