[StrangePan] [1.1.41] Crash: InventoryGuiSlot.cpp:220: No itemstack found
Posted: Wed Sep 29, 2021 2:05 pm
My game crashed whilst I was testing some new changes I'd made to my mod Spidertron Weapon Switcher (but I haven't recently changed any code around the spidertron switching which is where the crash was). Attached is the save and the current development version of the mod. Also uses EditorExtensions, flib and spidertron-extended.
I loaded the save, switched each spidertron to shotgun-mode, tested the shotgun range for each. I then went to editor mode and placed some more lab tiles.
I then got some flamethrower ammo from my inventory and went through each spidertron switching them to flamethrower-mode. It crashed as soon as I switched the 3rd, MK3, spidertron. I think I was holding flamethrower ammo in my hand at the time, I was in the MK3 spidertron, and the spidertron inventory wasn't open.
I can't replicate the crash based on the above info though and I've never seen it happen before. Presuming that it was caused by something my mod did, if you like you can follow the mod code from line 93 in control.lua where it made its last console log().
I loaded the save, switched each spidertron to shotgun-mode, tested the shotgun range for each. I then went to editor mode and placed some more lab tiles.
I then got some flamethrower ammo from my inventory and went through each spidertron switching them to flamethrower-mode. It crashed as soon as I switched the 3rd, MK3, spidertron. I think I was holding flamethrower ammo in my hand at the time, I was in the MK3 spidertron, and the spidertron inventory wasn't open.
I can't replicate the crash based on the above info though and I've never seen it happen before. Presuming that it was caused by something my mod did, if you like you can follow the mod code from line 93 in control.lua where it made its last console log().