XProger / OpenLara

Classic Tomb Raider open-source engine
http://xproger.info/projects/OpenLara/
BSD 2-Clause "Simplified" License
4.7k stars 358 forks source link

Crash: Entering room (Stack overflow). #39

Closed Gh0stBlade closed 7 years ago

Gh0stBlade commented 7 years ago

Level: LEVEL10A (Natla's Mines) Room: 87 (Causes Crash) Lara Position: 62618, -7859, 25880, Room 18 (Before the room that crashes)

Info: Crash happens when standing on portal sector from room 18 to room 87. Can be avoided by jumping over the sector.

Edit: Same crash occurs in room 33.

TeslaRus commented 7 years ago

old problem in OT, portals, cycling frustums a.t.c....

Gh0stBlade commented 7 years ago

Level: LEVEL2 (City of Vilcabamba) Room: 47/43 (Causes Rare Crash) Lara Position: 26730, -1536, 21982, Room 43 Tested on commit: 7c4f48f378f0863d391d7e7711994c11a1980830

Info: Rarely reproducible crash! Happens when the camera clips through the wall in this room. Camera can clip through the wall when Lara has her back facing it then simply turning left/right.

https://github.com/XProger/OpenLara/blob/master/src/frustum.h#L84

Gh0stBlade commented 7 years ago

Can confirm crash for LEVEL10A/LEVEL2 is solved in e0ac5e518a84ab9ee8584c726610be890f230b8f