Today I was making a quick little class converter plugin for personal use. Everything was fine, until I realized that it didn’t work with ChangeHistoryService because the original objects (that got destroyed in the conversion process) were not restored when undoing (even though I had used ChangeHistoryService:SetWaypoint()
correctly).
That’s a real pain. And it explains why I had spent a long time thinking ChangeHistoryService was a pointless feature due to it being so unreliable in so many of the plugins I have used.
In my opinion this is a critical feature missing from ChangeHistoryService. Literally THE worst-case scenario that ChangeHistoryService should have been designed to prevent has been ignored (i.e. accidentally and permanently losing work when using a plugin).
Please give us a way to add deleted objects to waypoints.