KeyNotFoundException at GetStackSizeFixed
hkO5EJDDD3TpIev.jpg deicide77

Steps to fix this on your server without editing the CS file or restarting:

1. o.unload StackSizeController
2. Delete all StackSizeController files in the oxide/data folder (make a backup just in case)
3. o.reload StackSizeController
4. It has now created the default files in the oxide/data folder
5. o.unload StackSizeController
6. Upload your customized StackSizeController.json to the oxide/data folder overwritting the default one
7. o.reload StackSizeController

You should be good!

Seemed to work for me!! Thanks!

Just pushed a fix for this. If you're on v3, please update. Create a new post if you encounter any other exception than "KeyNotFoundException", thanks and sorry for the delay!

Also thanks to everyone helping out and providing a temporary fix!

EDIT: Appears uMod hasn't picked the update up yet, in the meantime, can grab it directly from here

MZtJMr1Pb70NYx5.jpg AnExiledDev

EDIT: Appears uMod hasn't picked the update up yet, in the meantime, can grab it directly from here

You can post manual updates on our site as well.

Yeah I just expected it to go right away. Calytic pointed out to me though that I changed my GitHub username, so that broke it. All fixed now.

skh21HS1NOojYIu.jpg deicide77

Steps to fix this on your server without editing the CS file or restarting:

1. o.unload StackSizeController
2. Delete all StackSizeController files in the oxide/data folder (make a backup just in case)
3. o.reload StackSizeController
4. It has now created the default files in the oxide/data folder
5. o.unload StackSizeController
6. Upload your customized StackSizeController.json to the oxide/data folder overwritting the default one
7. o.reload StackSizeController

You should be good!

thank you 

I got this working! Thanks everyone!
Deleted the vanilla file in data.

[20:05:25]Unable to load StackSizeController. Timed out waiting for compilation
[20:05:25]Previous version of plugin failed to load: StackSizeController
 
How do I fix this problem? This happened after the game was updated. The plugin reinstalled to the new version does not help.
ClwLMoAuKq86sKq.jpeg moerv

Yes that doesn't work.

The Plugin seems to have an issue with the new easter items introduced via the update.

Open the StackSizeController.cs and add the problematic Items to the IgnoreList (Line 18) like this:

private readonly List<string> _ignoreList = new List<string>
{
"water",
"water.salt",
"cardtable",
"hat.bunnyhat",
"rustige_egg_e"
};

Worked for me.

thank you for the fix.

Locked automatically