I was testing train speeds when the game crashed when 2 of them collided.
A train was pulling out of the siding when another train collided with it at high speed.
What would have been expected to happen was the train to get damages/destroyed and the game to continue running.
How to reproduce
Have a large train at low speed enter the main track.
Have a smaller train at higher speed collide with the large train.
???????????
Profit (game crash)
[boskid] [1.0.0] Crash on tain collision: "this->state == RailConnectionDirection::None was not true"
[boskid] [1.0.0] Crash on tain collision: "this->state == RailConnectionDirection::None was not true"
- Attachments
-
- TrainSpeedTestign.zip
- Enable automatic mode on stationary train to crash the game
- (6.65 MiB) Downloaded 117 times
-
- factorio-current.log
- From recration
- (57.99 KiB) Downloaded 115 times
-
- factorio-current.log
- From first crash
- (59.51 KiB) Downloaded 108 times
-
- Final frame of game when crash occured
- CrashedTrains.PNG (901.15 KiB) Viewed 2950 times
Re: [1.0.0] Crash on tain collision: "this->state == RailConnectionDirection::None was not true"
Thanks for the report. Issue is now fixed for 1.1.0.