Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod)

Curated user bug reports with enough information to reproduce issue. Moderators will move topics here from Help & Support once a bug is confirmed and enough information has been provided.
Locked
User avatar
pango
Posts: 1304
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod)

Post by pango » Mon Jul 22, 2019 7:51 pm

@Vondur character's got killed twice after fast traveling from the east to Deerwood, Dwynnen with Mountains and Hills mod enabled:
https://www.youtube.com/watch?v=Zpndien9HS8&t=1486
https://www.youtube.com/watch?v=Zpndien9HS8&t=1621

I traced the problem back to two lines in StreamingWorld.RepositionPlayer:

Code: Select all

                // If desired position is higher then minimum position then we can safely use that
                if (position.y > targetPosition.y)
                    targetPosition.y = position.y;
Trying to be on the safe side, the player can only be relocated upward, but in this situation the terrain has such a steep drop next to the town that it makes the player appear way above ground to dangerous heights.

Gamesave in Aldton, Dwynnen, which is located east of Deerwood. All you have to do is fast travel to Deerwood to reproduce the issue.
Attachments
SAVE318.zip
(335.5 KiB) Downloaded 2 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 1304
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod)

Post by pango » Mon Jul 22, 2019 9:02 pm

I created a PR
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Locked