[boskid][2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

This subforum contains all the issues which we already resolved.
Octet
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Feb 21, 2025 10:53 am
Contact:

[boskid][2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by Octet »

Whilst using the Blueprint Sandboxes mod, in the sandbox, ghost dragging a belt over an underground belt causes the game to crash. This issue was not happening before, but I'm unsure what changed to cause this.
Attachments
Factorio - 2025-02-21 11-13-40.mp4
(6.45 MiB) Downloaded 20 times
factorio-current.log
(22.88 KiB) Downloaded 16 times
Akino_Ovsky
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Dec 28, 2024 9:37 am
Contact:

Re: [2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by Akino_Ovsky »

Got this exact same crash in that creative world mod twice now, It may be related to that? (2.0.41)
Crash 2.jpg
Crash 2.jpg (315.22 KiB) Viewed 276 times
Attachments
factorio-current.log
(47 KiB) Downloaded 9 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3645
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by boskid »

Given that both of those logs contain mods, i will need a save file on which i could reproduce this bug because i suspect there may be scripts involved in the crash.
Akino_Ovsky
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Dec 28, 2024 9:37 am
Contact:

Re: [2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by Akino_Ovsky »

Was gonna send the map save at first, forgot lol

I've noticed that it's not just ghost dragging but more where it would replace an underground that's already there (may also be due to the replaced belt being going the other direction)

Edit: I think it is due to going under something, so far I've noticed a trend of it being Beacons
photo_2025-03-15_06-19-59.jpg
photo_2025-03-15_06-19-59.jpg (13.59 KiB) Viewed 242 times
Shift+B to open the sandbox
World File: https://drive.google.com/file/d/1w14mBI ... drive_link (45mb)
Akino_Ovsky
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Dec 28, 2024 9:37 am
Contact:

Re: [2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by Akino_Ovsky »

Tested again, This time with only space age (and the two DLC "mods"), and the Sandbox

Crashes only with Green belts and even then not every time, Couldn't get a screenshot but not sure it really applies
Also does not require it to be going under a beacon as I mentioned previously

Posted test world and the log
Attachments
factorio-current.log
(22.88 KiB) Downloaded 6 times
Test.zip
World File
(4.37 MiB) Downloaded 5 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3645
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by boskid »

Thanks for the report. Issue is now fixed for 2.0.42. Issue was that one of the mods (blueprint sandboxes) was reviving ghosts as soon they were placed and this interfers with part of the smart belt building logic. One piece of smart belt building logic was not checking if entity was invalidated (for example when it was revived by script) and so the crash happened.
Akino_Ovsky
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sat Dec 28, 2024 9:37 am
Contact:

Re: [boskid][2.0.32][Modded] Crash ghost dragging belt (BeltTraverseLogic)

Post by Akino_Ovsky »

Sweet, glad to be of help

Always fun when something weird finds a niche way to crash the game
Post Reply

Return to “Resolved Problems and Bugs”