[boskid] [1.0.0] Crash on tain collision: "this->state == RailConnectionDirection::None was not true"

This subforum contains all the issues which we already resolved.
Sakari119
Long Handed Inserter
Long Handed Inserter
Posts: 58
Joined: Sun Oct 22, 2017 9:47 am
Contact:

[boskid] [1.0.0] Crash on tain collision: "this->state == RailConnectionDirection::None was not true"

Post by Sakari119 »

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)
Attachments
TrainSpeedTestign.zip
Enable automatic mode on stationary train to crash the game
(6.65 MiB) Downloaded 123 times
factorio-current.log
From recration
(57.99 KiB) Downloaded 119 times
factorio-current.log
From first crash
(59.51 KiB) Downloaded 111 times
Final frame of game when crash occured
Final frame of game when crash occured
CrashedTrains.PNG (901.15 KiB) Viewed 2976 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3273
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.0.0] Crash on tain collision: "this->state == RailConnectionDirection::None was not true"

Post by boskid »

Thanks for the report. Issue is now fixed for 1.1.0.
Post Reply

Return to “Resolved Problems and Bugs”