Page 1 of 1

[Genhis][2.0.6] Crash when setting values out-of-range in utility constants (Sprite3D::loadSprites)

Posted: Fri Oct 18, 2024 6:20 pm
by micromario
factorio-current.log
(11.15 KiB) Downloaded 43 times
Running the following mod will crash factorio on startup.
infinite-belt-stacking.zip
(107.02 KiB) Downloaded 40 times

Re: [2.0.6] Crash when setting values out-of-range in utility constants (Sprite3D::loadSprites)

Posted: Fri Oct 18, 2024 6:38 pm
by boskid
Sigh

Was this mod loaded successfully even once? `max_belt_stack_size` of 512 is out of range (max acceptable value is 255, there is an error in the log about this). Only issue here that is actionable is the crash itself.

Re: [2.0.6] Crash when setting values out-of-range in utility constants (Sprite3D::loadSprites)

Posted: Fri Oct 18, 2024 6:44 pm
by posila
boskid wrote: Fri Oct 18, 2024 6:38 pmOnly issue here that is actionable is the crash itself.
Yes, that's the bug that needs to be fixed. Setting `max_belt_stack_size` to 512 is just repro.

Re: [2.0.6] Crash when setting values out-of-range in utility constants (Sprite3D::loadSprites)

Posted: Fri Oct 18, 2024 6:47 pm
by micromario
boskid wrote: Fri Oct 18, 2024 6:38 pm Sigh

Was this mod loaded successfully even once? `max_belt_stack_size` of 512 is out of range (max acceptable value is 255, there is an error in the log about this). Only issue here that is actionable is the crash itself.
I have purposely uploaded a broken version of the mod that has the reproduction.

Re: [Genhis][2.0.6] Crash when setting values out-of-range in utility constants (Sprite3D::loadSprites)

Posted: Sun Oct 20, 2024 6:16 pm
by Genhis
Thanks for the report, this is fixed for the next release.