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

petrathekat
Inserter
Inserter
Posts: 33
Joined: Fri Apr 19, 2024 7:12 pm
Contact:

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

Post 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.
Attachments
factorio-current.log
(18.87 KiB) Downloaded 9 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16391
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. This is now fixed for 2.1.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Fixed for 2.1”