My character ignores landscape collision and keeps falling.


This only happens when changing maps, entering from the main menu does work fine, this only happens on this map

The new map is still loading on your end, hence why you fall.

2 Likes

so this doesn’t work?
although it only fails on this map

Your starter map is pre-loaded in the editor. When you switch maps it has to be loaded. Read from drive, loaded to memory and each actor instantiated, materials compiled.

When meshes are loaded from drive the collision is one of the last things you get. LoD’s are loaded in reverse order 3, 2, 1, 0.

There’s 3 ways to deal with this.

  1. Edit the Game modes default behavior so that it doesn’t auto spawn a pawn and possess it immediately on join.
  2. Disable movement in the character by default and spawn above ground.
  3. Use a loading pawn as the default pawn and have it tell the controller when it the level is loaded.

I use #3 Replication or Loading Problem? - #17 by Rev0verDrive

1 Like

The game is offline, does it change anything or do I do it the same?

For single player you can skip the RPC’s and controller stuff.


Create the GM event and the GM function

From loading pawn get the game mode

Get Game Mode → Cast to your GM class → Call the GM event
For controller reference use Get Controller and pass that to the GM event.

For the controller reference pins just use base controller obj reference.

2 Likes

Should I change all the first person player spawns to new pawn?

shouldn’t have to, unless they are custom and they need pawn reference

1 Like