In World Composition, the streaming level is automatic. Since the game needs to be saved before the sublevel is uninstalled, how to trigger an event before the sublevel is uninstalled
Apparently, EndPlay in the level BP is called, although at this point, some other object may have also already been unloaded.
After calling, the content of the level no longer exists. To save the game, it needs to be called when the content of the level exists. I plan to save the content of the level outside the level and wait until the level is loaded again and call the save content from outside.
I don’t know how much stuff you’re saving. If it’s not too much, you can sync the save game ever second or so.