[Twinsen][1.0.0] Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
animexamera
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Nov 23, 2020 8:27 pm
Contact:

[Twinsen][1.0.0] Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

Post by animexamera »

As seen in the following screenshot inserters get stuck in sleep mode.
Image
That means they work normally and once their output is filled they go into sleep mode, but unfortunately never wake up again.
I don't know if this happens in Vanilla, but it has happened to me in multiple versions when using Bob's and Angel's Mods.
The problem occurs regardless of whether inserters have been altered in the inserter configuration mode (changing the pickup and dropff spots + side of belt).

Currently playing on
Factorio 1.0
SeaBlock Version 0.4.8
Save with Bug: https://www.dropbox.com/s/cfhz3uom9mvr8 ... e.zip?dl=0
Inserters that frequently stop moving are marked with pink signal on the map
Last edited by animexamera on Mon Nov 23, 2020 10:07 pm, edited 1 time in total.

Loewchen
Global Moderator
Global Moderator
Posts: 8317
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

Post by Loewchen »

Post a link to a save that you can reproduce the issue with please.

User avatar
animexamera
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Nov 23, 2020 8:27 pm
Contact:

Re: Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

Post by animexamera »

https://www.dropbox.com/s/cfhz3uom9mvr8 ... e.zip?dl=0
Here you go, the inserters at the pink signals on the map tend to get stuck a lot.

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

Re: [1.0.0] Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

Post by boskid »

This is quite interesting issue. Core of the issue is that inserter choosed wrong transport line to sleep on than the one it was dropping items onto.

Inserter has drop vector of {-2, -1}. When inserter drops items on belt, it uses its current hand position, which in this particular case is based on distance of 2.2360679 and orientation of 0.82379 which gives relative drop position of {-2, -0.996094} which is on the lower transport belt lane. There is however another way inserter may go to sleep on transport belt when transport belts are changed in any way, and it always uses original drop vector of {-2, -1} which results on upper transport belt lane. Inserter may appear as working correctly for long time but when inserter is not dropping any items onto belt for long time (~3 minutes) transport lines may be remerged internally and this causes inserter to reregister it as sleeping on upper transport line. In that case those inserters will get stuck as lower transport belt lane may become empty without waking inserters up.

If you want a workaround, use drop vector that drops on lower or upper part of the belt instead of using center position.

User avatar
animexamera
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Nov 23, 2020 8:27 pm
Contact:

Re: [1.0.0] Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

Post by animexamera »

Thanks! I'll try setting their Drop Off to Lower/Upper side of the Belt. Will this issue be fixed in future versions? Or will this issue persist?

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [Twinsen][1.0.0] Inserters get stuck in sleep mode (happens only in big worlds 5K inserters and more)

Post by Twinsen »

Fixed in Version: 1.1.6.
Thanks for the report.

Sleeping inserters will stay like that in saves until they are poked, but the fix will prevent them from sleeping on the wrong belt lane in the future.


Post Reply

Return to “Resolved Problems and Bugs”