Fill a TArray with UObject

Did you mean this ?
image

If I press it, it just empty the array.

I spawn 2 players characters, both have the inventory full of slots on the blueprint details, but both have 0 element when you try to access to it.