[0.18.3] Train wagen ghost disappears after placing ghost belt

This subforum contains all the issues which we already resolved.
AntiElitz
Filter Inserter
Filter Inserter
Posts: 456
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

[0.18.3] Train wagen ghost disappears after placing ghost belt

Post by AntiElitz »

When placing this blueprint, the wagon ghost disappears when placing one of the belts. Works fine if the wagon is placed by bots first instead - so it's dependent on order.

https://clips.twitch.tv/PrettyWealthyCa ... arTheThing

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2903
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.3] Train wagen ghost disappears after placing ghost belt

Post by boskid »

This is fixed for 0.18.30

posila
Factorio Staff
Factorio Staff
Posts: 5330
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.3] Train wagen ghost disappears after placing ghost belt

Post by posila »

Just for future reference in case the fix comes back and starts to haunt us
boskid wrote:
Tue Jun 02, 2020 2:51 pm
this is some corner case with collision masks (transport belt ghost overlaps onto rolling stock collision mask) and buildability check, when reviving transport belt, there is call to removeConflictingGhostsAndCorpses which does if (!ghost->innerEntity->buildabilityCheck(BuildCheckData::simple(BuildCheckType::GhostRevive)).isBuildable()) (Entity.cpp:474) and here, rolling stock is decided it is not buildable since it has no rail under it, but it does that because it is entity ghost and is not connected to rails - rolling stock ghost is deleted
Attachments
81419-testing-b.zip
(215.27 KiB) Downloaded 118 times

Post Reply

Return to “Resolved Problems and Bugs”