Crash [only?] after starting a new game and running around
Opened this issue · 1 comments
Description
After creating a new game and running around the game will crash.
In particular, the first 2 values don't seem to change, and the last 2 are valid entities.
The 0th value seems to be assigned from a code piece like this:
otherEntity->m_apWheelCollisionEntity[X] = some_struct->field_at_0x4; // X is a number, doesnt matter in this case
// ...
That is to say, something is null while it shouldn't be. This doesn't crash in itself, because the ptr isn't used there.
I've looked into our code, and nothing writes to m_apWheelCollisionEntity
, so it's in external code.
Steps to Reproduce
- Make new game
- Skip cutscene immediately [Not sure if this has anything to do with it]
- Run around [close to the bike I guess]
- Crash
Expected Behavior
Guess what
Current Behavior
As said above
Screenshots/Videos
First crash
From a separate crash
There's something related to world loading process probably. Picking "New game" makes my game crash instantly no matter what. I decided to complete the first mission without asi and save my progress. After i loaded that save, everything is smooth. Game crashes in ~2 seconds if i go outside via door or teleport to zero coords