by Accensus » Thu Dec 30, 2021 8:07 am
Yeah. Except it still does, even with EventHandler, hence the report in the first place. And it only works on this particular map with this particular mod for ???? reason. I discovered this chasing a VM abort where a reference was nulled as part of a DestroyAllThinkers routine during save game loading. That issue also happened only on that specific map and only once per engine load, afterwards loading the save resulted in "Unloading scripts cannot exit the level again."
Unless I'm misunderstanding your post and IsSaveGame working with EventHandler is not a bug, just not something you can rely on.
Yeah. Except it still does, even with EventHandler, hence the report in the first place. And it only works on this particular map with this particular mod for ???? reason. I discovered this chasing a VM abort where a reference was nulled as part of a DestroyAllThinkers routine during save game loading. That issue also happened only on that specific map and only once per engine load, afterwards loading the save resulted in "Unloading scripts cannot exit the level again."
Unless I'm misunderstanding your post and IsSaveGame working with EventHandler is not a bug, just not something you can rely on.