Hi!
We have a plugin that modifies the meta data of assets (we are adding/removing some custom tags).
I noticed that this doesn’t create any entries in the Undo history, so I spent some time stepping through the entire transaction system, and couldn’t find a spot where it would consider meta data at all.
This results in any transactions being discarded, and no Undo steps being created, since all modified objects are considered to be unchanged.
I also checked the User Asset Tags system built into Unreal. And while in UserAssetTagMenuHelpers.cpp it does go through the entire transaction spiel and creates e.g. “Added User Asset Tags” or “Removed User Asset Tags” transactions, those also never show up in the Undo history.
So I guess this is just a bug/missing piece in Unreal?
I for now worked around this by using the FChangeTransactor and inserting manual changes into the undo history. This works but is quite a bit of extra footwork.
Is this the way to go for now?
Ciao, Daniel!
[Attachment Removed]