Unreal Engine Save Game Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 81

  • @hello1232896
    @hello1232896 9 หลายเดือนก่อน +2

    Awesome guide! i cant believe you are the only one that does this in a simple and good way

  • @realgoatzy
    @realgoatzy 4 หลายเดือนก่อน +1

    The best guide yet

  • @Muriloyt-u9n
    @Muriloyt-u9n ปีที่แล้ว +2

    very good tutorial, we need more of this!

  • @joevillarreal192
    @joevillarreal192 7 หลายเดือนก่อน

    This was the tutorial I needed! Thank you 🍻

  • @DGlen-n5j
    @DGlen-n5j 11 หลายเดือนก่อน

    You are a genius my friend. I've spent the last several days watching Saving and Loading tutorials specifically about structs and all I was ending up with was frustrated. I found tutorials where I had to transfer every node in the struct, etc. Could you explain the logic behind when you 'save the game', you first load the game? I would think that would just overwrite the data that you changed during the play of the game.

    • @Seredias.
      @Seredias.  11 หลายเดือนก่อน +1

      Simple explanation, since the Programm Language behind the Blueprint is C, you can say it has memory issues. So you have to load it first to get the Reference.

    • @daikoooo
      @daikoooo 6 หลายเดือนก่อน

      This has nothing to do with the programming language or memory issues. The reason you load it is because you need a SaveGame object that holds your data. So you can either create a new one and overwrite the old SaveGame object or load the existing one and overwrite the data. Its up to you if you use direct saving or loading and updating. Both have their own use cases.

  • @GameSinsBattles
    @GameSinsBattles ปีที่แล้ว

    Good work! Please another tutorial with Resume game (loading from last saved progress)

  • @internaltech9074
    @internaltech9074 ปีที่แล้ว +2

    Hi Seredais, great video.
    Can you show us how to have different missions/tasks in the game with this save feature?
    E.g mission 1 = find flower, mission 2 = do something with flower.
    Then you can see if mission 1 is complete and load missions 2 if you save game.

    • @Seredias.
      @Seredias.  ปีที่แล้ว +1

      Yes, that will be Part of the Series.

  • @DarioOrtisi
    @DarioOrtisi 2 หลายเดือนก่อน

    Hi Great tut. COuld you create a save game for a level set variant? Thanks

    • @Seredias.
      @Seredias.  2 หลายเดือนก่อน

      Never tried that, need to check.

    • @DarioOrtisi
      @DarioOrtisi 2 หลายเดือนก่อน

      @@Seredias. Great i unable to do that. But i'm a noob

  • @Chinesestud
    @Chinesestud 9 หลายเดือนก่อน

    Hey, great tutorial. I was just wondering if this will still work with packaged game

    • @Seredias.
      @Seredias.  9 หลายเดือนก่อน

      The Save Game Object is not a custom Solution. It is the default Solution from Unreal itself to save your Game Status. So of course this must work.

  • @sewn-_-7337
    @sewn-_-7337 2 หลายเดือนก่อน

    i type "set player position " but the target option is missing 2:50

    • @sewn-_-7337
      @sewn-_-7337 2 หลายเดือนก่อน

      btw i use ue4.17
      last time it worked by misstake i delrt the BP so i need to strart again

    • @Seredias.
      @Seredias.  2 หลายเดือนก่อน

      The Player Position is a Variable inside the GameSave. Then you go from the "Cast to Game Save" and set the Variable.

    • @Seredias.
      @Seredias.  2 หลายเดือนก่อน

      ​@@sewn-_-7337I strongly recommend to update the Version, cause this is a very old Version. It doesn't have any benefits to stay on this Version and dont worry, you will still able to use you're Projects.

  • @nassergreatdeveloper3745
    @nassergreatdeveloper3745 ปีที่แล้ว

    Thank you sir. Finally I found what I need. I save my life

  • @OmegaOutlaw2024
    @OmegaOutlaw2024 8 หลายเดือนก่อน

    1:11 creating the character structure isn't found in my search. Idk if you already did that part I'm using ue5.1. It didn't populate.

    • @Seredias.
      @Seredias.  8 หลายเดือนก่อน

      As I said this is just an example and not necessary for this Tutorial. If you want to see the Character Creator, link is in the Description.

  • @bran6573
    @bran6573 5 หลายเดือนก่อน

    everything works perfectly, except the inventory, it constantly updates and shares throughout my test saves. the save itself will appear after playing in viewport but when i load it, the only thing that does not transfer is the inventory, which resets to nothing if i restart the viewport. but if i keep playing and save, go to a new save/new game, it'll still be the same inventory as the previous save

    • @Seredias.
      @Seredias.  5 หลายเดือนก่อน

      @@bran6573 How far are you with the Inventory Series?

  • @ArtisticIntentionZ
    @ArtisticIntentionZ หลายเดือนก่อน

    i have a follow camera lag set to 3 because it creates a cool effect, but with this code i cant seem to save the camera location like you saved the inventory when i load a saved game the player spawns in the saved location but the camera spawns in the original location and the camera lag eventually finds the new player location. and if you walk far from the start then the camera lag can take up to a minute to reach the player all while you can still walk around and move the camera.
    so it basically broke this cool camera effect and if i turn off camera lag it doesnt happen and works perfect
    how can i save the camera location and keep the lag?

    • @Seredias.
      @Seredias.  หลายเดือนก่อน

      I guess its a separate Camera inside the Level. In this Case you would save the Location of the Camera separately like the Player Position. Then you would load the Camera Position inside the Level Blueprint on Begin Play.

  • @tobito4397
    @tobito4397 6 หลายเดือนก่อน

    Save and Load Game are Working for me and you can delete the saves within the Save Game folder (delete the .sav files usng File Explorer). However for some reason my button text is not changing not sure what i am doing wrong

  • @BubuRuzu
    @BubuRuzu 11 หลายเดือนก่อน

    5:20 What if you don't use a delay? Can you make it work? Delay is a bad way of doing it.

    • @Seredias.
      @Seredias.  11 หลายเดือนก่อน +1

      When I tested it, I encountered the problem that the transformation is not done without any delay in between. Probably because the character is still loading. So maybe there is a better way, but I didnt found it yet.

  • @CodyKatsmar
    @CodyKatsmar 4 หลายเดือนก่อน

    How to save and load variables in another blueprint, for example your characters health etc

    • @Seredias.
      @Seredias.  4 หลายเดือนก่อน

      @@CodyKatsmar Like the Player Position, inside the Game Instance.

    • @CodyKatsmar
      @CodyKatsmar 4 หลายเดือนก่อน

      @@Seredias. That doesn't work.

    • @Seredias.
      @Seredias.  4 หลายเดือนก่อน

      @@CodyKatsmar Did you save the Health inside the Player, cause this will not work, when you change the Level. You need to save it inside your Game Instance. Then you can also save it with the Game Save.

    • @CodyKatsmar
      @CodyKatsmar 4 หลายเดือนก่อน

      @@Seredias. I saved it in the game instance but it isn't working. I will message you on discord.

  • @DuckieEdits
    @DuckieEdits 6 หลายเดือนก่อน

    do you think it would still work if they saved their progress in a level

    • @Seredias.
      @Seredias.  6 หลายเดือนก่อน

      Sure, but then you need this Concept: th-cam.com/video/LP5Oa-65HDA/w-d-xo.htmlsi=p68x4PnL67SZhTNU

  • @alexerraiz5186
    @alexerraiz5186 9 หลายเดือนก่อน

    Everything works great and my character's position is saved and loaded when selecting the save files, but the inventory save doesn't work. I followed your tutorials on creating an inventory and how add pick up items, is there something I missed or something I should add?
    Edit: after doing some debugging I found out that the inventory variable in MyInstance does not contain the items picked up, how could I fix this?

    • @Seredias.
      @Seredias.  9 หลายเดือนก่อน

      Follow Path 3 of the Inventory Tutorial Series. If you still have the Items in your Inventory when you change the Level, everything is fine. th-cam.com/video/ULF_JpJJQxQ/w-d-xo.htmlsi=mgGWWmdKZQR12QkG

    • @alexerraiz5186
      @alexerraiz5186 9 หลายเดือนก่อน

      @@Seredias. After a lot of debugging and testing was finally able to make it work, as I was using the pre-saved slots for my testing which turns out was glitching the game as I had to play on a new save slot for the array to update properly. Thanks for the quick reply.
      On a side note would you know how to clear a save slot?

    • @Seredias.
      @Seredias.  9 หลายเดือนก่อน

      @@alexerraiz5186"Delete Game in Slot"

  • @TheF4c3m4n
    @TheF4c3m4n ปีที่แล้ว

    Does this work across multiple levels? I am really having a time trying to figure out how to do this exact setup with numerous levels. Thanks!

    • @Seredias.
      @Seredias.  ปีที่แล้ว +2

      Yes, of course this work across multiple levels. You just need to load your configuration with the Game Instance inside a new Level. Like your Character for example.

    • @TheF4c3m4n
      @TheF4c3m4n ปีที่แล้ว

      @@Seredias. Thanks!

  • @Gup11654
    @Gup11654 ปีที่แล้ว

    This is driving me crazy. When I set the level name the same as you I get "Accessed none trying to read property as my save game object Node Set level name"

    • @Seredias.
      @Seredias.  ปีที่แล้ว

      That would mean that the Level name Variable is empty. Did you set it here 3:05

    • @Gup11654
      @Gup11654 ปีที่แล้ว

      @@Seredias.I did. I found my issue. I promoted my save game object to a var on the true path and used that to plug in my targets on all other vars. Which it wasn’t referencing a save game

  • @devzonic288
    @devzonic288 ปีที่แล้ว

    Hey seredias, do a tutorial on how to navigate the inventory using the WASD keys

    • @Seredias.
      @Seredias.  ปีที่แล้ว

      Yes, that will be Part of the Series.

  • @nassergreatdeveloper3745
    @nassergreatdeveloper3745 ปีที่แล้ว

    Hi Seredias what about if I have puzzles and trigger box for conscience? I want player make save after finish them and if the player load again, player should not go through them again

    • @Seredias.
      @Seredias.  ปีที่แล้ว +2

      That needs to be saved inside the Save Game Object as well, but I will show that in Detail in the next Part.

    • @nassergreatdeveloper3745
      @nassergreatdeveloper3745 ปีที่แล้ว

      @@Seredias. thank you 🙏 I was looking for this one for long time

  • @jtscott8807
    @jtscott8807 ปีที่แล้ว

    I tried to follow, but the character structure variable wouldn't show when searching for it.

    • @Seredias.
      @Seredias.  ปีที่แล้ว

      As I said in the Tutorial this is from another Tutorial (Character Editor, link in the Description) and not necessary for the Save Game.

    • @jtscott8807
      @jtscott8807 ปีที่แล้ว

      I finally got this to work, it's just the "New Game" Button wont update to "Saved Game 1" etc, after pressing save game and quitting.@@Seredias.

    • @jtscott8807
      @jtscott8807 ปีที่แล้ว

      Nevermind it all worked for me, I forgot to plug in a node!@@Seredias.

  • @GODL-SCARY
    @GODL-SCARY ปีที่แล้ว

    Bro I need tutorial on this your map I like your map please make tutorial on your map making in detail please ❤❤❤❤

    • @Seredias.
      @Seredias.  ปีที่แล้ว

      It's just a Content Pack, link in the Description. Since I am not the Creator I can't do a Tutorial about it.

  • @ZimMabu_GameDev.
    @ZimMabu_GameDev. 10 หลายเดือนก่อน

    danke kamerad wie gehts dir?

  • @lodgerplayz_games
    @lodgerplayz_games ปีที่แล้ว

    Thanks for this tutorial

  • @sinchannohara6707
    @sinchannohara6707 ปีที่แล้ว

    Sir how to make Procedurally generated landscape . in UE 4 ? Please sir make a tutorial .

    • @Seredias.
      @Seredias.  ปีที่แล้ว

      In theory that is possible in UE4, but very complicated. I would recommend to use UE5 for that. The last Update includes exactly what you looking for.

    • @sinchannohara6707
      @sinchannohara6707 ปีที่แล้ว

      @@Seredias. Thank you sir

  • @snikerq
    @snikerq ปีที่แล้ว

    Hi! how to make an editable text that is not getting deleted when you left the game

    • @Seredias.
      @Seredias.  ปีที่แล้ว +1

      By saving the text inside the Save Game and load the text when you continue.

  • @abdoulraoufgambo
    @abdoulraoufgambo 8 หลายเดือนก่อน

    God bless you my friend

  • @MrSpecialistov
    @MrSpecialistov 8 หลายเดือนก่อน

    Its different for multiplayer ?

    • @Seredias.
      @Seredias.  8 หลายเดือนก่อน

      Depends on how you setup the Multiplayer.

    • @MrSpecialistov
      @MrSpecialistov 8 หลายเดือนก่อน

      @@Seredias. I'm far of this kind of step (still in formation), but if someone have a server, its the server save everything about the character right ?

    • @Seredias.
      @Seredias.  8 หลายเดือนก่อน

      @@MrSpecialistov Multiplayer is a very complicated topic, so there is not an easy answer. Yes it will save the Character, but it has nothing to do with Multiplayer.

  • @ImSuchAZero
    @ImSuchAZero 8 หลายเดือนก่อน +1

    W ur the goat

  • @azezulxd4036
    @azezulxd4036 ปีที่แล้ว

    I was checking your old video on the character creation, and I realize that it doesn’t work. If you do, you have races in the game due to them having different skeletal meshes

    • @Seredias.
      @Seredias.  ปีที่แล้ว

      Different Skeleton Objects, but same Skeleton Structure. Which part will not work in this Case.

  • @DevilFruitJourney
    @DevilFruitJourney 10 หลายเดือนก่อน

    Gute Arbeit

  • @Kiran.KillStreak
    @Kiran.KillStreak ปีที่แล้ว

    you saved me from a lot of searches.Thanks

  • @titisGAMES-u7d
    @titisGAMES-u7d 5 หลายเดือนก่อน

    Goat

  • @K0UK0U
    @K0UK0U ปีที่แล้ว

    Perfect

  • @masterybegins
    @masterybegins ปีที่แล้ว

    Ok, but why use UE4?

    • @Seredias.
      @Seredias.  ปีที่แล้ว +1

      It doesn't matter, because it works for both and many Viewers are not able to use UE5 cause of the high performance requirements.

    • @lodgerplayz_games
      @lodgerplayz_games ปีที่แล้ว

      @@Seredias. Yea

    • @Dragginnn
      @Dragginnn 9 หลายเดือนก่อน

      Technically we have to do the Widget differently because ue5 doesnt promote the text fields to variables. We have to bind each one, call it, grab the variable from there and plug it in@@Seredias.

    • @OmegaOutlaw2024
      @OmegaOutlaw2024 8 หลายเดือนก่อน

      Careful though in plenty of vids I've found with version changes the blueprint list doesn't always have the same options finding this half way through a video sucks. That's why he asked. Sometimes there is an alternative but we don't always know the consequences when the minor different with nodes