hello goodmorning guys, can someone help me on how to create a simple user slot and save before you start the game. I don't know how to create it on unreal engine . thankyouu


like this just wanted to create userslot before starting the game thankyou

this is unity but i don’t know how to create on ue5

this is how the ai generated but, i can’t follow it because it don’t have blueprint, Step 1: Create a User Widget

  • In the Content Browser, right-click and select User Interface > Widget Blueprint.
  • Name your Widget Blueprint, e.g., “UsernameSlotWidget”.
  • Open the Widget Blueprint and create a new widget by dragging and dropping a Vertical Box from the Palette into the Canvas.
  • Add a Text component for the username input and a Button for saving the username.

Step 2: Create a Save Slot

  • In the Content Browser, right-click and select Save Game > Save Slot.
  • Name your Save Slot, e.g., “UsernameSlot”.
  • Set the Slot Type to String.

Step 3: Create a Save Username Function

  • In the UsernameSlotWidget Blueprint, create a new function by right-clicking in the Graph Editor and selecting Function.
  • Name the function, e.g., “SaveUsername”.
  • In the function, use the following nodes:
    • Get Text (from the username Text component)
    • Save String to File (using the UsernameSlot)

Here’s what the Blueprint graph might look like:

Save Username Blueprint

Step 4: Set up the Save Button

  • In the UsernameSlotWidget Blueprint, set up the save button by adding the following nodes:
    • Button Clicked (for the Save button)
      • Call the SaveUsername function