Page 1 of 1

[2.0.72] Creating an asteroid-collector with no arm graphics crashes the game on placement

Posted: Sun Dec 14, 2025 4:44 am
by petrathekat
To reproduce:

Code: Select all

local collector = data.raw["asteroid-collector"]["asteroid-collector"]
collector.graphics_set.arm_head_animation = nil
collector.graphics_set.arm_head_top_animation = nil
collector.graphics_set.arm_link = nil
I've attached the log.

I think that either the documentation/validation should be updated so that AsteroidGraphicsSet.arm_head_animation & friends are not optional, or the game should handle not having any graphics there.

Re: [2.0.72] Creating an asteroid-collector with no arm graphics crashes the game on placement

Posted: Thu Dec 18, 2025 8:05 pm
by Rseding91
Thanks for the report. This is now fixed for 2.1.