How to Create a Game Instance in Unreal Engine 5 - Carry Data Between Levels

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 63

  • @moeburhanimeez7354
    @moeburhanimeez7354 6 місяців тому +11

    Saving data and sending it from one level to the other is much easier than I thought it was!

    • @GorkaGames
      @GorkaGames  6 місяців тому +5

      with a game instance it's so easy!!

    • @DarkTechGames1
      @DarkTechGames1 6 місяців тому +1

      To simplify it... Your Level Instance is the ONLY THING that needs to communicate with your Save Game. Everything else communicates with the Level Instance.

  • @BikeTravelerX
    @BikeTravelerX Місяць тому

    Little Tip: Before i started thicharacter selection and game instance, i did the Switch between First person and Third Person Character Tutorial and then i made this character selecting / game instance and added the the level i already had ... works perfect. using UE 5.4.4

  • @phoenixgold9735
    @phoenixgold9735 4 місяці тому +1

    Omg it's been driving me nuts for a month trying to figure this out and I just saw your video 🎉 1:29 it helped a lot!

  • @shahmaarbaba
    @shahmaarbaba 6 місяців тому +26

    make a loading screen showing the process bar with percentage of level loading

  • @Muneebdevelopment361
    @Muneebdevelopment361 6 місяців тому +2

    hey , gorka, i switched to unity but i still will be your supporter and subscriber and always a unreal user!

  • @Cloroqx
    @Cloroqx 6 місяців тому +1

    Great tutorial. One suggestion for future work would be to use "Open Level (by Object Reference)" in place of Open Level (by Name), as it takes an object reference, loads async and is generally a better way of doing things.

  • @eligijuspranskunas3509
    @eligijuspranskunas3509 6 місяців тому +2

    nice, please make more tutorials about those instances, player controller, etc.

  • @nayler2010
    @nayler2010 6 місяців тому

    Always great easy to follow content your doing great work for helping solo developers! One of the best ue5 UA-camrs out here,

  • @diluciousOK
    @diluciousOK 2 місяці тому

    Thanks, short and sweet

  • @enderfire3379
    @enderfire3379 6 місяців тому +3

    yay, new tutorial

  • @ThePavilionWeb
    @ThePavilionWeb 6 місяців тому

    Just found you Today and so glad I did, amazing content clearly explained with a decent real world example, SUBSCRIBED ✅

  • @DarkTechGames1
    @DarkTechGames1 6 місяців тому +7

    You're on top of it quickly... Lol

    • @GorkaGames
      @GorkaGames  6 місяців тому +3

      haha I work with speed!!

  • @halall_man_o
    @halall_man_o 6 місяців тому +4

    I needed this for my game, thx Gorka! I have a question can you tell me how to store multiple stuff like what swords I have, what health/Ammo and Level I have etc?

    • @DarkTechGames1
      @DarkTechGames1 6 місяців тому

      Just create variables for them in the level instance matching their variable types and set them in the level instance when it's where you want it. Then to load them, just SET where you want it FROM the Level Instance.

    • @DarkTechGames1
      @DarkTechGames1 6 місяців тому

      Key point in this is to organize your Level Instance to make it easier to FIND data that will be later loaded or saved.

  • @bisart1
    @bisart1 6 місяців тому +2

    Please make a video about save game load game and reset!

  • @CharmRoselle
    @CharmRoselle 2 місяці тому

    Great tutorial, I've also been doing your Unreal Engine 5 RPG tutorial and find that when I load in with a different character, the sword doesn't equip in the right place and you can't attack the dummy either... only when you use the Manny one... I'm sure I'll figure it out eventually, but it would be a big help if you could show how to make this work with levels you've already created :)

  • @sallad_ran_far7288
    @sallad_ran_far7288 3 місяці тому

    Thank you sm this helped a lot

  • @박민규-l7i
    @박민규-l7i 2 місяці тому

    thanks, you are best

  • @zachwise476
    @zachwise476 6 місяців тому

    I'm almost done with the game I've been working on for the passed year! You've been a big help. How do I find assets in my project I didn't use and are safe to delete?

  • @reginioremarkb.4864
    @reginioremarkb.4864 6 місяців тому

    Nice tutorials bro, can you also make a dialogue where a player can interact to npc (like having a conversation) where there is option to select to answer to the npc question.

  • @ChkolMix
    @ChkolMix 6 місяців тому +2

    who we makeup short animation in own game to vid and put a vid on first title's of game or put some animation clip into game look like when you open door or walk on the some place when we pointed showing animation clip when we puted before ? idk how i telling you but i know u know what i mean to say .... ty man i love u so much for help us

  • @infumiinations1311
    @infumiinations1311 5 місяців тому

    Can you make one where you start in the menu find a world(level) or host one then get the option to select characters

  • @pierrecadeot
    @pierrecadeot 6 місяців тому +1

    oh yeah purrrfect :)

  • @SchroderFitness
    @SchroderFitness 5 місяців тому

    Does this work with multiplayer? If not, how would you modify it?

  • @J4RUBY
    @J4RUBY 6 місяців тому

    Can you show us how to sim projectiles in a third person shooter. You’ve shown us line traces, but I’d love to create a projectile based shooter

  • @thebelowzerogamers2179
    @thebelowzerogamers2179 5 місяців тому

    Can you do a video on this, but it's for one of your health systems, such as the RPG health.

  • @jacktoobsee
    @jacktoobsee 6 місяців тому +1

    Please try not to ‘Cast’ too much, it can impact performance

  • @AbbastiktokRt24
    @AbbastiktokRt24 6 місяців тому +1

    Good good

  • @HeyShotgun
    @HeyShotgun 6 місяців тому +1

    Hmm okay so this isn’t really known . But can you possibly try a meta human setup tutorial because I look for it and everyone shows the meta human site and then skip the actual implementation

    • @DarkTechGames1
      @DarkTechGames1 6 місяців тому +1

      I actually HAVE a 3D metahuman character selection screen and it works the same. But instead of saving a Mesh, you are saving a particular Blueprint to load.

    • @HeyShotgun
      @HeyShotgun 6 місяців тому

      @@pierrecadeot 🗿NO

  • @irmago7859
    @irmago7859 18 днів тому

    I'm wondering if there is a way to change the character's BP through this?

  • @daviddedovec6435
    @daviddedovec6435 6 місяців тому +1

    Do an uneqipment system please

  • @gracecpy
    @gracecpy 6 місяців тому

    Hello! Can you make a tutorial on cooking system in Unreal Engine?

  • @Intranduan
    @Intranduan 6 місяців тому

    Amazing

  • @sachchitlauvyadaskakoty
    @sachchitlauvyadaskakoty 6 місяців тому

    Brooo pleaseeeeeee make a video series on how to make a game like resident evil pleaseeeeeee pleaseeeee

  • @101_studios
    @101_studios 6 місяців тому

    please create
    could you please make a video of creating a server and entering it but as an fps game? please

  • @AlexZyablov
    @AlexZyablov 6 місяців тому

    Hello Gorka, can you explain please, why cyberpunk 2077 is an open world without loadings between levels but when you use a teleport you have to wait a few seconds of loading? Probably some of optimization? How can I implement it in my own game?

  • @samos0001
    @samos0001 6 місяців тому

    Hi
    I really like your videos. Unfortunately I can't find answer on my problem, so maybe you can give me some advice:)
    I created simple Physic-Base flying ship (it's cube for now). I want be able to flying this ship and also move BP_ThirdPersonCharacter on that ship. Unfortunately, BP_ThirdPersonCharacter move is Non_physic and because of that I got many issues. Is it possible to combine physic with non-physic movement? If not, what is easier to implement? Physic movement for character or non physic movement/flying for ship? I prefer physic solutions, but also I dont want to create physic movement for charcter (I think it will be complicated, especially since in the future I will want to implement an NPC that will walk around the ship). What do you advise?

  • @CoolDudeOwenGaming
    @CoolDudeOwenGaming 4 місяці тому

    Epic👌

  • @jotafreshh4126
    @jotafreshh4126 6 місяців тому

    Hello Gorka Games, I am from Argentina, sorry if I write wrong.
    I come from the video in which you teach how to create an equipment system. My question is how could I make it so that my character, when starting the game, already starts with the weapons and the respective damage that each one inflicts. Like in the game shadow of the colossus

    • @jotafreshh4126
      @jotafreshh4126 6 місяців тому

      Gracias por tus videos!! aunque estan en ingles aprendi mucho!

  • @DEM1GOD7
    @DEM1GOD7 5 місяців тому

    Surely you can do that without using cast

  • @W_von_Doom
    @W_von_Doom 6 місяців тому

    how can I transfer ownership of the session to a different player such that the host can leave without disrupting the other players?

  • @MorningStar1621
    @MorningStar1621 6 місяців тому

    Works great except you need to hold down mouse to play when you load into level, how do you fix it?

  • @HG-tu2xn
    @HG-tu2xn 6 місяців тому

    does game instance save player's data after closing and opening the game?

  • @agentshadow6618
    @agentshadow6618 6 місяців тому

    Iam asking for the 10th time please make cloth system like steller blade you find outfits and you change in main menu, using also metahuman.... Please❤❤

  • @lytran1138
    @lytran1138 5 місяців тому

    How to carry object in exactly location near player to new level

  • @Yacob_Rl
    @Yacob_Rl 4 місяці тому

    hello i have a question for some reason i have to keep going back through the character selection and select a character for it to load in the world if i just hit play (without going back the character selection) my character dose not load into the game ??

    • @Yacob_Rl
      @Yacob_Rl 4 місяці тому

      nvm i found the issue i was having with it not loading a mesh in by default by going to the GI_Selection and selecting the variable we made and selected a default mesh on the right side in the details panel.

  • @Rhyth19
    @Rhyth19 2 місяці тому

    The game instance doesn't seem to persist when i use "join session" for some reason. It does work when I Create Advanced steam session though. Can you help?

  • @FabioHartFernandes
    @FabioHartFernandes 2 місяці тому

    Pleeeeeeeasee make a new version using Metahumans, pleeeeeease :-)

  • @FabioHartFernandes
    @FabioHartFernandes 2 місяці тому

    Is it just for me or it is a bug? if you press "play level" without clicking on "change character", makes the play level starts with no skeletal mesh associated... thanks a lot

    • @romanjemk
      @romanjemk 13 днів тому

      yeah me too, sucks, i'll try to adapt it

    • @FabioHartFernandes
      @FabioHartFernandes 13 днів тому

      @@romanjemk i have made a version, with metahumans... it is working perfectly, including on multiplayer... totally scalable... i will make a tutorial soon and let you know

  • @eng0722
    @eng0722 5 місяців тому

    Your tutorial is great, but I have some problems, I created the GameInstance blueprint but it doesn't show the EventGraph and can't edit it, can anyone help me explain