seems to really kick off when the Bradley event starts. (you may want to look into this or... you might not care) but... here is what I found:
BuriedItem.Create(Item item...)
NullReferenceException: Object reference not set to an instance of an objectThe plugin directly edits ItemDefinition.stackable at runtime. Facepunch themselves warn that modifying definitions while entities exist can create invalid items. This is a snippet from the .cs file:
itemDefinition.stackable = Mathf.Clamp(GetStackSize(...), 1, int.MaxValue);If this happens when an item already exists in inventory or in-world, Rust may fail to resolve that item’s definition pointer during burial.
If this fails at any point, the plugin logs it but the item may already be invalid. Rust then tries to destroy that item later ---> volia: NullReference in BuriedItem.Create.
private int GetStackSize(ItemDefinition itemDefinition)
{
try { ... }
catch (Exception ex)
{
LogError("Exception encountered during GetStackSize. Item: " + itemDefinition.shortname + " Ex:" + ex.ToString());
return GetVanillaStackSize(itemDefinition);
}
}
I can and probably am wrong but I thought maybe a look into this. I had to find: [Info("StackSizeMultiplier", "Fujikura.... from ages ago. His methodology works. Really miss that guy he was an incredible coder / modder. All my NullRefferenceExceptions vanished after moving over to Fuji's version of stacking. I translated the .json from StackSizeController over to SSM without any issues. I always JSON valid too.