[posila] [2.0.28] Crash caused by a divide by 0 when line_length = 0 in a sprite sheet

This subforum contains all the issues which we already resolved.
bunshaman
Burner Inserter
Burner Inserter
Posts: 12
Joined: Fri May 24, 2024 3:14 am
Contact:

[posila] [2.0.28] Crash caused by a divide by 0 when line_length = 0 in a sprite sheet

Post by bunshaman »

What did you do? - Had line_length = 0 in a sprite sheet. The documentation implies this is an acceptable value.
What happened? - The game consistently crashed when trying to boot. The log was consistent every crash.
What did you expect to happen instead? It might be obvious to you, but do it anyway! - I expected the game to boot up with no issue, and to see my sprites in game.
Does it happen always, once, or sometimes? - It happened consistently.
Attachments
module-config_2.0.8.zip
The mod at the time of the crash. I have since fixed it by setting line_length = 10
(494.44 KiB) Downloaded 8 times
factorio-current(2).log
The log from the crash.
(15.14 KiB) Downloaded 9 times
posila
Factorio Staff
Factorio Staff
Posts: 5421
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila] [2.0.28] Crash caused by a divide by 0 when line_length = 0 in a sprite sheet

Post by posila »

Thanks for the report.
Fixed for 2.0.30
Post Reply

Return to “Resolved Problems and Bugs”