-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hello.
I observed this issue: when doing something on level and starting new game then saves changes. Which is obviously unexpected. No prior saves where made manually. The setup is like that in pseudo code:
SpudSubsystem::NewGame(true, true);
::OpenLevel("SameLevel", true);
I noticed that SpudSubsystem utilizes this event USpudStreamingLevelWrapper::OnLevelHidden, which is triggered on new game trigger, exactly when ::OpenLevel() is called. And then ::OnLevelShown is triggered after level is loaded, which triggers respectively save and load. To fix that I simply put unsubscribing loop in ::EndGame() and that fixed the issue for me
GourmetGames
Metadata
Metadata
Assignees
Labels
No labels