How it works...

The UPROPERTY() declaration tells UE4 that TArray must be properly memory-managed. Without the UPROPERTY() declaration, your TArray won't work properly.