[1.1.50] Game crashes when adding between 16 and 255 item variations
Posted: Sat Jan 15, 2022 2:26 am
I created a mod that adds item variations to the iron plate. When adding more than 255 entities the game will give a warning and not load the mod. However, when going below 255 but above 15 (Bilka mentioned on Discord that this should be the correct limit) the game will load up the mod, but crash hard as soon as it has to create or show an iron plate.
Attached are a crash log and the mod, which defaults to a crashing variant trying to load 216 item variations. Files with 15 variants (working.lua) and 17.5k variants (warning.lua) are also included. Both of these work as expected.
Attached are a crash log and the mod, which defaults to a crashing variant trying to load 216 item variations. Files with 15 variants (working.lua) and 17.5k variants (warning.lua) are also included. Both of these work as expected.