ChangeHistoryService recording plugin changes without waypoints

Hello,

I’m running into an issue where the instances that our plugin creates are being added to change history. This causes any instances created to be removed in the event that someone uses undo. This is not behavior I want as these instances are critical to the plugins runtime. Is there a way to remove the last waypoint, or just ignore the plugins changes entirely?

Thanks.

You can just do that part without setting a waypoint for it…?

There is no waypoint being set, thats the problem. It appears that instances are getting waypoints set on creation which is a huge issue for our plugin. I know ServerStorage automatically sets instance creation waypoints, but is there a way to remove the waypoints it sets?

Better yet, is there a better place to store data?

The script is unrelated as its a quirk of studio itself. I’m trying to find a way around it.

1 Like

You could have missed something in the script, I can’t help without knowing the scripts, dont worry no one will steal the script :confused:

1 Like

I appreciate the reply, but I have not implemented ChangeHistoryService anywhere in my codebase. Like I said, I believe this is a feature/quirk of studio. I need to find a way to prevent studio from making waypoints on these instances when I don’t want it to.

1 Like

Solved! For anyone else having the same issue, setting the values Archivable property to false fixed the issue!

5 Likes