Announcement

Collapse
No announcement yet.

Packaging my project for shipping sets boolean variables in savegame automatically to true

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Packaging my project for shipping sets boolean variables in savegame automatically to true

    Hi,

    for my game i'm using a SaveGame Blueprint which contains two boolean variables. Both of them are set to false in their default value.
    But when i pack the project for shipping (Windows 64Bit) and run the game, the boolean variables seems to set to true and i wonder why. Is this some kind of bug or is there a way to fix this?

    Another thing: I understand the function for the node "DoesSaveGameExist", but it seems that it is totaly ignored, after the project was packed. My saveGame with the two boolean variables doesn't exist when i start the Game in PIE or Standalone and the "DoesSaveGameExist" works as it should. "SG doesn't exist, open widget "A" " for example. But after packaging my game and run it for the FIRST time, the SG seems to already exist, because it opens "widget "B"" and not "A".
    Can somebody explain this to me?

    Thanks in advance

    Ace D.
    Last edited by AceD; 07-16-2019, 10:03 AM.

    #2
    SaveGame files are stored into a public system's program data folder created for your game. Even after you delete the packaged game that folder is still there and saves still exists.
    | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

    Comment


      #3
      Originally posted by BrUnO XaVIeR View Post
      SaveGame files are stored into a public system's program data folder created for your game. Even after you delete the packaged game that folder is still there and saves still exists.
      Ok, but how can i get or pack a game without savegames on first start? ...MyProject/Saved/SaveGames is empty when i start packaging my game.

      Comment


        #4
        You didn't understand what I was trying to say.
        On Windows you should look into a system's folder like "C:/User/AppData" folder (hidden depending on your OS settings). In there, there is a folder named after your game's name. There is where save game files are stored for packaged games. They are not stored in same directory where your game.exe is running from.
        | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

        Comment


          #5
          Oh ok, i got it. It's working now as it should after if i delete the savegames after packaging. Thanks a lot!

          Comment

          Working...
          X