Page 1 of 1

[Tobias][2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not true)

Posted: Thu Oct 24, 2024 3:29 pm
by ZombieZilla
Hi, bit of a unique issue but I figured I'd report it anyway.

It appears that when there is absolutely zero space between a train, wagon and another perpendicular wagon, trying to connect rolling stock will force a crash.

Video of reproduction
crashclip.mp4
(24.83 MiB) Downloaded 36 times
Steps to reproduce.
1. Load save in version 2.0.10
2. Drive green train south until it collides with perpendicular wagon
3. Disconnect rolling stock from green train
4. Connect rolling stock in red train
5. Connect rolling stock in red train again
6. Observe CTD

Attached blueprint


Savefile and log attached to post

Re: [2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not true)

Posted: Tue Nov 05, 2024 6:06 pm
by robot256
Confirmed that this still happens in 2.0.15 when done exactly like in the video. (Drive Green forward until collision, press K, get in Red, press J twice, crash)

Re: [Tobias][2.0.10] Crash attaching rolling stock (Rail.cpp:181: this->state == RailConnectionDirection::None was not t

Posted: Wed Nov 20, 2024 8:12 am
by Tobias1595
Thanks for the report. A fix for this issue will arrive in version 2.0.21.