[boskid][2.0.28] Asteroid chunk is sometimes ignored by collector

This subforum contains all the issues which we already resolved.
flomz
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Feb 18, 2022 5:33 pm
Contact:

[boskid][2.0.28] Asteroid chunk is sometimes ignored by collector

Post by flomz »

Setup
An asteroid chunk flies into collector area. Collector is in "working" state and has matching filter.
Expected
Chunk is picked up by collector
Actual
Sometimes (very rarely) chunk is ignored and flies past all collectors. If collector is deconstructed and re-built (ctrl-z) again in time, while chunk is in it's reach, chunk gets picked up. Other chunks are picked up by this collector as expected. I've encountered this bug twice, with different chunk types.
ignored-chunk.PNG
ignored-chunk.PNG (1.48 MiB) Viewed 961 times
I've attached a save with ignored asteroid chunk. It is to the left of "Atlantis" platform for about 15 seconds after loading.

Also, just noticed that there is a shadow for this asteroid chunk (visible on screenshot). Shoud it really be there?
Attachments
2024-12-15-sp-7-2.zip
(10.02 MiB) Downloaded 11 times
C++ dev @ yandex
Arcus
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Dec 14, 2023 12:07 pm
Contact:

Re: [2.0.28] Asteroid chunk is sometimes ignored by collector

Post by Arcus »

Refer to
viewtopic.php?p=652937#p652937
Circuit-controlled asteroid collectors may miss some chunks if they change filters too frequently because we have to search all chunks on the surface to find new valid candidates - there is a 300-tick cooldown between full surface searches.
flomz
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri Feb 18, 2022 5:33 pm
Contact:

Re: [2.0.28] Asteroid chunk is sometimes ignored by collector

Post by flomz »

Arcus wrote: Mon Dec 23, 2024 9:18 am Refer to
viewtopic.php?p=652937#p652937
Circuit-controlled asteroid collectors may miss some chunks if they change filters too frequently because we have to search all chunks on the surface to find new valid candidates - there is a 300-tick cooldown between full surface searches.
An interesting topic, thanks. However, I don't think that problem here is due to 300-tick search cooldown, as this chunk is there for much longer than 5 seconds. Also, if I deconstruct and rebuild a collector before this particular chunk enters its area, it still gets ignored (circuit filters were not changed during that time).
C++ dev @ yandex
captain_wiggles
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Oct 24, 2024 12:31 am

Re: [2.0.28] Asteroid chunk is sometimes ignored by collector

Post by captain_wiggles »

I've seen this happen when not using filters and no wire connections at all, the collector was not full. Unfortunately I don't have a repo / screen shot to back it up.
teckno99
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Mar 17, 2019 4:08 pm
Contact:

Re: [2.0.28] Asteroid chunk is sometimes ignored by collector

Post by teckno99 »

captain_wiggles wrote: Mon Dec 23, 2024 2:07 pm I've seen this happen when not using filters and no wire connections at all, the collector was not full. Unfortunately I don't have a repo / screen shot to back it up.
this is the reason i have been searching the forums no screen shot either but shouldnt need one if it is a bug
tinker9
Inserter
Inserter
Posts: 20
Joined: Sat Nov 09, 2024 4:51 am
Contact:

Re: [2.0.28] Asteroid chunk is sometimes ignored by collector

Post by tinker9 »

I have a save, screenshot, and 2.0.28 reproduction for this.

What I did:

Change my "Calcite at Nauvis" platform from collecting just oxide chunks, to collecting all chunks.

1. Set a collector to just filter one type of chunk
2. Wait until a bunch of chunks are on the screen
3. Change the collector filters by pasting another collector over it with no filters

What I expected:

All chunks that are in flight and in range for 5+ seconds get collected.

What actually happened:

Most (all?) chunks that were already in flight when the filters were pasted over are ignored, even after 10 seconds or more.
The filters changed manually work as expected almost immediately.

Links to saves:

During/before pasting:
https://www.sendspace.com/file/jew3fi
https://www.sendspace.com/file/de8wma

Shortly after the paste, showing the bug in the screenshots:
https://www.sendspace.com/file/i3s0h3
Attachments
factorio-current.log
(85.51 KiB) Downloaded 7 times
Screenshot 2024-12-28 at 12.16.17 (3).png
Screenshot 2024-12-28 at 12.16.17 (3).png (7.5 MiB) Viewed 681 times
Screenshot 2024-12-28 at 12.16.20 (3).png
Screenshot 2024-12-28 at 12.16.20 (3).png (7.97 MiB) Viewed 681 times
Cubickman
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sun Nov 10, 2024 9:08 am
Contact:

Re: [2.0.28] Asteroid chunk is sometimes ignored by collector

Post by Cubickman »

Hi

I have the same problem. [2.0.28]
My space science factory doesn't work well because the collectors let almost half of the chunk through ;(
2.PNG
2.PNG (594.73 KiB) Viewed 527 times
1.PNG
1.PNG (1.48 MiB) Viewed 527 times
Capture_1.mp4
(56.09 MiB) Downloaded 11 times

In the past, I've reported a collector bug when platforms change speed (124493), but this time it's a stationary platform in orbit.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3371
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.28] Asteroid chunk is sometimes ignored by collector

Post by boskid »

Thanks for the report. Issue is now fixed for 2.0.30. Issue was that at some point that asteroid chunk was seen as "still too far to be interesting now" and was scheduled to be rechecked in 60 ticks (1 second), however there was a logic error causing the schedule of such chunks to not be revisited if there are no unrelated chunks nearby.
Post Reply

Return to “Resolved Problems and Bugs”