Exception while calling NextTick callbackSolved
I get this error after unload and reloading BetterLoot with the new file. I cannot figure out how to fix it:

Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x002da] in <b7a7938543a3453d8c026eda1069d50d>:0

at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <b7a7938543a3453d8c026eda1069d50d>:0

at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <ac41dd3599754d448b8c218b34645820>:0

I added a Bradley crate in my LootTables.json but my map doesn't have Launch Site, could this be why?

Merged post

I removed Bradley crate to test, this did not fix the issue

Merged post

I redid my loot tables, I came across some that had scrap blueprints. After redoing all crates, my BetterLoot is working.
swilly
I added a Bradley crate in my LootTables.json but my map doesn't have Launch Site, could this be why?

Merged post

I removed Bradley crate to test, this did not fix the issue

Merged post

I redid my loot tables, I came across some that had scrap blueprints. After redoing all crates, my BetterLoot is working.

If you could,, simply add the scrap blueprints back, and see if the errors still occur when back.
I currently don't have a test server, and if you'd be able to provide me this information, I'd be able to prevent possible causes in the future.


Thanks!
What do you mean by scrap blueprints? Im having this issue not too.
Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.BetterLoot.MightyRNG (System.String type, System.Int32 itemCount, System.Boolean blockBPs) [0x0020f] in <b8ecfb45621d434fa9317e56cc6d14a3>:0 
  at Oxide.Plugins.BetterLoot.PopulateContainer (LootContainer container) [0x001a0] in <b8ecfb45621d434fa9317e56cc6d14a3>:0 
  at Oxide.Plugins.BetterLoot.<UpdateInternals>m__0 () [0x000b2] in <b8ecfb45621d434fa9317e56cc6d14a3>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <ac41dd3599754d448b8c218b34645820>:0

I had the same error, and I was using my old Loot Tables to edit in BLMC. The only difference was amount per item.

Yet when I'm using my old Loot Tables, no error.

Locked automatically