I have an Editor Utility Blueprint, which runs a long sequence of actions with several double (and even triple) for loops, which takes a lot of time to complete, and there aren’t any way to reduce the execution time. To avoid raising up Maximum Loop Iteration Count and don’t make the editor to freeze during process, I use Delay for 0.01 sec.
The problem is with editor autosaves: I don’t want to switch them off or increaing autosave delay, but if it calls during script execution, the script stops and I need to lauch it again. I want to automatically temporary disable autosaves while Utility Blueprint runs and enable them back after execution end. I looked for node to disable and enable autosaves from blueprint, but I didn’t manage to find any information about it.
Is it even possible to toggle editor autosaves from blueprints, and if yes, how to do it? If it’s not possible from blueprints, but possible from C++ - OK, just how I can do it?
If it’s not possible at all, maybe there is any way to avoid script stopping on editor autosave?
1 Like