[Lou][2.0.32] Crash on car hitting 0 health entity "Car.cpp:603: Branch expected not te be reachable"

This subforum contains all the issues which we already resolved.
User avatar
Cooldude2606
Fast Inserter
Fast Inserter
Posts: 108
Joined: Sat Sep 16, 2017 9:04 pm
Contact:

[Lou][2.0.32] Crash on car hitting 0 health entity "Car.cpp:603: Branch expected not te be reachable"

Post by Cooldude2606 »

TL;DR Crash to desktop when a car hits an entity which has zero health.

Reproduction
  • Place an entity such as a lamp. Set health to 0 with "/c game.player.selected.health = 0"
  • Place a car, add fuel, and enter it.
  • Drive the car into the lamp.
  • Crash to desktop.
(Save file attached for this exact setup)
01-24-2025, 15-05-54.png
01-24-2025, 15-05-54.png (356.38 KiB) Viewed 400 times
Attachments
test1.zip
(1.24 MiB) Downloaded 20 times
factorio-previous.log
(15.5 KiB) Downloaded 25 times
--- Developer for Explosive Gaming and Clusterio. Please contact me via our Discord. ---
User avatar
Lou
Factorio Staff
Factorio Staff
Posts: 242
Joined: Mon Nov 30, 2020 10:50 am
Contact:

Re: [Lou][2.0.32] Crash on car hitting 0 health entity "Car.cpp:603: Branch expected not te be reachable"

Post by Lou »

Thanks for the report. Fixed for 2.0.39
Post Reply

Return to “Resolved Problems and Bugs”