What's the trick to defining an array param in a UFUNCTION?

If you want the array to remain editable, try the UPARAM(ref)