Why Player keep falling through ground, After I Save the Game?

So after i save the Player’s Transformation at a location and load the save, the player keeps falling through the ground, does anyone know what’s up with that?

Fom the top of my head that it is streaming issue

How to solve

  • If you have a partitioned world its streaming issue, when player spawns and teleported to location, the landscape (floor) is not fully streamed yet. Make sure to wait a tiny amount to stream in.
  • If its not a massive world but you still use world partition. You can make floor always loaded.
  • Apart from this a common game dev crime is to, set gravity zero till things are loaded (delay and set grravity back)
  • Afais its a small world and if you are not using level streaming. Do check you teleport destination is fully above ground of the capsule height. In other words player capsule fully above ground.
1 Like

thanks for replying, but I’m not sure what you mean when you say “wait a tiny amount to stream in” because the player is spawning outside the default third person map too:
what should i do use a delay?

Can go into your save game folder in project Directory:\YourProject\Saved\SaveGames and delete save game files there. Will it spawn by default outside map that time?

I’m guessing SetActorTransform is sending you to a position that’s too low.
Try adding +100 Z and see what happens.
Can draw a debug sphere and use Pause, F8 and see where you’re spawning.

On the third person map it’s sending to a saved location relevant to the other map.

It work at first but, it still hasn’t fix the issue though:
this is the second day of me figuring out what is causing the problem

You have to coralate your save game objects with level. Basically you can save map name as string to check that if save slot corresponds to current level. Or else according to your logic it will always find the save file on any level and make logic on top.

How to coralate level vs saveobject

  • You can make a new save object with name LevelA-001.sav LevelB-001.sav so they don’t work for different worlds.
  • You can hold your map level name, in your save object. However it is not an extendable approach if you have one save and many different level (as expected)

Here is a nice extendable save game system.

As a solo Dev, I’m very new to all these Game Instance and SaveGame BP, so i don’t really know what this supposed to mean, I’m just looking for a fix to understand why it works and doesn’t work, because i don’t fully understand, what exactly do i need to do to fix this Issue?
I’m taking the Simple steps at first
does fixing the problem have something to with this:


Get current level name and set as slot name.

OnLoadGame load again from current level name as slot name. That way you will not have one save multiple saves per level/map

Problem is : you always load the same savegame object whatever map you open.

One of the problem is i don’t know how to do none of that
As i said before “I’m very new to all these Game Instance and SaveGame BP” i never use these before, i just know how to save the Player Character Transformation and just make simple one level games as a beginner, i don’t know if should make it in the GameInstance, The PlayerCharacter, The GameSave BP or even the Map Level Blueprint, i don’t even know how to make the way you’re telling me, because i don’t understand how it all works, can you break it down in a simple way for beginners?

Sure thing.

I have this save game object with a single transform data for player.

When I press a key E on this example game saves to a slot. Writes to disk with whatever map name is like below

When player begins play, you check the current map name’s save slot exist. If there is already a save, player’s transform is set.

If it is an unknown map that there is no saved game yet. Player starts regularly from default position.

Hope its more explanatory now.

Here is also demo of it.

I made 3 maps.

I will save the game in MapA and MapB by pressing E key and go through simple portals spawning from saved places.

MapC since I don’t press E and save game it always starts from default player position.

Thanks for the simple breakdown, i’ll proceeds on studying it to understand

1 Like