[2.0.23] Asteroid collectors don't pick up asteroids from the sides

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Cubickman
Inserter
Inserter
Posts: 23
Joined: Sun Nov 10, 2024 9:08 am
Contact:

[2.0.23] Asteroid collectors don't pick up asteroids from the sides

Post by Cubickman »

Hello,

I've noticed that my asteroid collectors don't pick up chunks coming from the sides of the platform. However, they are neither programmed with filters nor connected to the logic network and their inventories are empty.

Am I doing something wrong or is this a bug ?
Attachments
Capture.mp4
(61.99 MiB) Downloaded 25 times
Last edited by Cubickman on Sun Dec 15, 2024 7:34 pm, edited 1 time in total.
Muche
Filter Inserter
Filter Inserter
Posts: 690
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

Re: Asteroid collectors don't pick up asteroids from the sides

Post by Muche »

Could you attach your save file? I think it may be useful for determining what's happening.
Loewchen
Global Moderator
Global Moderator
Posts: 9730
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Asteroid collectors don't pick up asteroids from the sides

Post by Loewchen »

And add the version to the title please.
Cubickman
Inserter
Inserter
Posts: 23
Joined: Sun Nov 10, 2024 9:08 am
Contact:

Re: Asteroid collectors don't pick up asteroids from the sides -> 2.0.23-0

Post by Cubickman »

The save file and the version :

2.0.23-0
Attachments
SpaceAge 1ère.zip
(54.26 MiB) Downloaded 16 times
Cubickman
Inserter
Inserter
Posts: 23
Joined: Sun Nov 10, 2024 9:08 am
Contact:

Re: Asteroid collectors don't pick up asteroids from the sides -> 2.0.23-0

Post by Cubickman »

I tried to reproduce this bug (because I saw that the collectors were taking again) and I succeeded.

It seems that the bug occurs when a platform is first stopped in orbit, so that the chunks come from the sides. And then, if it starts up and then quickly afterwards is told to go back in orbit and stop, or go back and change direction again. At that point, the collectors don't work.
Muche
Filter Inserter
Filter Inserter
Posts: 690
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

Re: [2.0.23] Asteroid collectors don't pick up asteroids from the sides

Post by Muche »

I'd recheck collectors' behaviour in this case with v2.0.26, as they'll get performance improvements (see viewtopic.php?p=652937#p652937).
In particular, whether chunks' projected paths are detected by collectors when the platform changes speed/direction, after 300 ticks at the latest.
Genhis
Factorio Staff
Factorio Staff
Posts: 742
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: Asteroid collectors don't pick up asteroids from the sides -> 2.0.23-0

Post by Genhis »

Cubickman wrote: Sun Dec 15, 2024 7:52 pm It seems that the bug occurs when a platform is first stopped in orbit, so that the chunks come from the sides. And then, if it starts up and then quickly afterwards is told to go back in orbit and stop, or go back and change direction again. At that point, the collectors don't work.
Thanks for the report, this is a known issue. It happens because asteroid chunks do a raycast when they spawn and register on asteroid collectors in their path as a form of optimization. If their velocity vector changes, the new path doesn't match the projected one. I'm moving this to minor issues, most likely no action will be done.
computeraddict
Filter Inserter
Filter Inserter
Posts: 250
Joined: Sat Oct 07, 2023 6:44 am
Contact:

Re: Asteroid collectors don't pick up asteroids from the sides -> 2.0.23-0

Post by computeraddict »

Genhis wrote: Wed Dec 18, 2024 11:38 am Thanks for the report, this is a known issue. It happens because asteroid chunks do a raycast when they spawn and register on asteroid collectors in their path as a form of optimization. If their velocity vector changes, the new path doesn't match the projected one. I'm moving this to minor issues, most likely no action will be done.
This might explain why I've seen side-facing collectors on a speed throttled platform miss a lot of chunks on the edges of their ranges, as the speed is always changing a little bit. How bad would the performance hit be to do a couple of additional lines of collision detection based on the recent top and minimum speeds of the platform? Or to recalculate collision for, say, one velocity-modified chunk per platform per tick?
Muche
Filter Inserter
Filter Inserter
Posts: 690
Joined: Fri Jun 02, 2017 6:20 pm
Contact:

Re: [2.0.23] Asteroid collectors don't pick up asteroids from the sides

Post by Muche »

Last time I did some testing on this, changing circuit-controlled filters on an asteroid collector forced its recalculation.
So I cleared filters for 1 tick once per couple of seconds and it collected them all.

However, that was before 118736 Endgame trip to Shattered Planet is incredibly laggy of v2.0.26 and 124971 Asteroid chunk is sometimes ignored by collector of v2.0.30, so the behaviour might have changed.
Post Reply

Return to “Minor issues”