I have a NavMesh that covers two floors of a building and the staircase between them.
To make it less awkward to explore, at any time one sub-mesh is active consisting of the room the player is in and any adjoining rooms for which the door is open.
When I save the scene and then load it again the x and z coordinates of the player are restored but the y axis remains as it was before the save. In other words the save/load doesn't modify the floor that the player is on.
There is one exception I've noticed; if the player is standing on the stairs, that is restored.
Maybe the player can't pass through the higher floor of the NavMesh when he is moved during the reload?
If you want further clarification please ask. Any pointers or solutions are welcome.
Comments
with the PlayerStart on the ground floor and then start the game - the
player appears on the first floor above the Player start, not on the
ground floor.
Do the X and Z positions match? ie. only the Y is affected in this specific example?