Engine crashes when using NewObject<>()

I do this
![alt text][1]

But when I print the inventory
![alt text][2]

The DebugMessage doesn’t appear. The if(Inventory[i]) returns false