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

Report issues and bugs here.
kay
Posts: 7
Joined: Wed Dec 06, 2017 1:20 pm

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

Unread post by kay » Tue Dec 31, 2019 10:36 am

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 :)
User avatar
Huki
Developer
Posts: 266
Joined: Wed Dec 06, 2017 5:54 am
Discord: Huki#1668

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

Unread post by Huki » Tue Dec 31, 2019 3:12 pm

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.
Post Reply