[Rseding91] [1.1.6] Crash connecting custom rail signal via circuit wire (DrawQueue::draw)

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 278
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

[Rseding91] [1.1.6] Crash connecting custom rail signal via circuit wire (DrawQueue::draw)

Post by Muppet9010 »

I get a crash when connecting 2 custom rail signals with a circuit wire. I believe it is due to the rail signal only having 1 animation direction and 1 circuit_wire_connection_points and circuit_connector_sprites entry.
It only seems to happen on East/West rail signals and not North South rail signals.

When I change it to have 4 of each directions the custom rail signal can be connected correctly. The custom rail signal doesn't have the 8 direction entity flag.

Attached simple test mod to create the issue in 1.1.6:
test_1.0.0.zip
(800 Bytes) Downloaded 103 times
Save game with track and signals placed, circuit wire in hand. Just connect the 2 signals and it crashes. They are both attached to the rail, just look odd as only single graphics direction in example:
crash.zip
(1.22 MiB) Downloaded 98 times
Log file:
factorio-current.log
(11.26 KiB) Downloaded 107 times
Dump file:
factorio-dump-current.dmp
(876.09 KiB) Downloaded 98 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.6] Crash connecting custom rail signal via circuit wire (DrawQueue::draw)

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”