Undo after deleting a Struct Variable removes all rows from related Datatables

Repro steps:

  1. Create a Blueprint Structure in the content browser with a few example variables
  2. Create a Datatable from that struct and add a few rows
  3. Return to your struct and delete a variable
  4. Check the Datatable - the column should have been removed correctly
  5. Press Ctrl-Z to undo the variable deletion (it reappears in the Struct)
  6. Note that all rows in the Datatable are removed

Expected: Performing an undo should restore the variable and not clear the Datatable.

Note: It’s sometimes possible if pressing Undo again to retrieve the Datatable contents if you were performing other struct/datatable actions previously.

Hey,

I was able to replicate the issue. I have logged a JIRA ticket with the developers for them to address this. You can access UE-53819 at anytime to check the status of the bug.