[2.0.72] Creating an asteroid-collector with no arm graphics crashes the game on placement
Posted: Sun Dec 14, 2025 4:44 am
To reproduce:
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.
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 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.