Crash when demolishing road

General discussions about the release versions of Capitalism Lab
Post Reply
speeder
Level 2 user
Posts: 25
Joined: Sun Oct 27, 2024 10:10 pm

Crash when demolishing road

Post by speeder »

So I was demolishing a road, and the game crashed on "car.cpp".

Sadly I have no idea how to reproduce it and I don't have more details, but I suppose this is a good start to find the bug, probably pathfinding to the newly deleted road or something.
User avatar
Stylesjl
Mod Expert
Mod Expert
Posts: 889
Joined: Sun Oct 29, 2023 4:01 am
Location: Sydney, Australia
Has thanked: 63 times
Been thanked: 82 times

Re: Crash when demolishing road

Post by Stylesjl »

This happens to me occasionally as well. It is difficult to pin down as it does not persist across save games. This is a similar error:
WalkerError.png
WalkerError.png (634.65 KiB) Viewed 1383 times
Here is what I did to replicate it.

1) Open the 10.0.06 beta release version.
2) Open a new custom game, any settings should be fine as long as it is not survivor mode.
3) Unpause the game and wait a few months. Look to see if cars or pedestrians appear in the streets.
4) Select Alt-G to activate mayor mode (beta version only).
5) Select Remove Roads and remove all of the roads in the city centre like in the screenshot.
6) Error appears, sometimes instantly or sometimes if you open a menu.

It doesn't always work so you may need to try it again a few times.
speeder
Level 2 user
Posts: 25
Joined: Sun Oct 27, 2024 10:10 pm

Re: Crash when demolishing road

Post by speeder »

Note: I saw my bug in survivor mode actually. As soon there ar ecars and people on the street you can delete them or their destination (not sure what one) and cause the crash.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 10420
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 78 times
Been thanked: 223 times

Re: Crash when demolishing road

Post by David »

The bug should have been fixed in the latest 10.0.50. Please try and see if you still get the error.

You can download v10.0.50 from viewtopic.php?t=9716
Post Reply