Page 1 of 1

[SOLVED] (Collision + Wireframe + Car bbox) + restart = crash

Posted: Tue Dec 31, 2019 10:36 am
by kay
Hi!
Setting the visuals to: Collision + Wireframe + Car bbox
then either
1. restarting the track from pause menu
2. starting a new track from frontend

causes the game to crash.
RVGL Error Log File
Compilation date: 00:32:34, Oct  2 2019
Architecture: Windows (64-bit x86)
Build: 19.1001a
(log file doesn't provide anything more useful)

Tested tracks:
- Toys in the hood 1
- Destructed City (2019)

Thank you for making the game great :)

Re: (Collision + Wireframe + Car bbox) + restart = crash

Posted: Tue Dec 31, 2019 3:12 pm
by Huki
Good find. It's the combination of collision + wireframe that causes it to crash.
The problem is that world and instance drawing are disabled when viewing collision, but certain things are initialized when drawing world that's used in other parts of the code (in this case, for wireframe render), so it's not really safe to disable world.

My current solution is to keep rendering world when viewing collision. Maybe it can even be useful.