Fill a TArray with UObject

Maybe you could try replacing this with GetTransientPackage() on your NewObject line?