How to Make A Save And Load System in UE5.1

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

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

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

    Great Save/Load System, the only bad part is when you have 6 levels. I am stuck on how to implement this. When going from one level to the next my character falls through floor on the new level. Thanks, and any info would be greatly appreciated! 😆

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

      Sounds like a problem of needing a different save file per level if it is possible to go between levels then each level will have its own location for the character and you need to keep track of this in either separate files or separate variables in the save files for the level. If you can only go one way in the levels you may be able to fix this by using the save command each time you are about to go to a new level that sets the location to the needed spawn location in the new level.

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

    Hey for some reason my Load State isn't carrying over through sessions, I have it set up exactly like you although I noticed my True/False branches needed to be inverted, then when I did that I was loading but falling out of the World/Got an Error that my Player Location was NULL. Any idea why?

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

      Edit - Figured it out. Turns out that save1 you have in the slot cannot be a variable name, at least not locally and plugged in. Tried casting from a string variable in the instance but that doesn't seem to work either

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

    Hi there!
    Do you also has a tutorial that can save and load stuff
    Like what a multiplayer/battle Royale has
    Because idk if this tutorial will works 🤔
    Anyways… keep up the work and so as nick eh 30 says: never back down, never give up 🤩

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

      No multiplayer is not my strong suite.

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

    THANKS SIR
    THIS IS WORKING IF YOU HAVE JUST ON LEVEL IN YOUR GAME. IT IS NOT GOING TO WORK IF YOU HAVE TOW LEVEL AND MORE. SO DO YOU HAVE ANY IDEA HOW TO MAKE LOADING AND SAVING SYSTEM FOR MORE THAN ONE LEVELS

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

      Please dont use caps lock, but all you would need to do is to copy the code form the level blueprint to the second level I believe.

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

      @@SavageDevs I am sorry about caps lock.
      do you mean should I copy codes of saving and loading system from blueprint class and I should past to every blueprint level?

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

      @@nassergreatdeveloper3745 Just the code in the level blueprint.

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

      @@SavageDevs also in the time 1:15 how did you get the node input?

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

      @@nassergreatdeveloper3745 That is just other code that does not relate to the tutorial that also needed the begin play function.