NullReferenceException at CanMoveItemFixed

I need help with this too. Literally everytime I move a weapon from any inventory to my hot bar everything is stripped and lost.

Merged post

I just fixed this, set your weapon stack size multiplier to 1.0 (do same for attire and tools as well for chainsaw fuel and miners hat fuel) and their hard stack limit to 0.  THEN for the stuff you want stackable, explosives, grenades, set them as individual item exceptions.

Hope this helps

Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in <50bfb378fde84bb594d11fbbaab048ef>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in <50bfb378fde84bb594d11fbbaab048ef>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

 

Same...
I do not have time to investigate more... Reinstalled the plugin 2 times completely already, unloaded all loot-related plugins like LootBouncer/MagicLoot also QuickSmelt if somehow can break anything but still the same... Then threw back the 3.2.2 and works fine so gonna stay with 3.2.2 for now idk...

This should be fixed in the latest update as well.

error message here thank you JvCa38l7D0Dw4FK.png

Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in <931f3bf39ab0499a9a75733ca4063339>:0

at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in <931f3bf39ab0499a9a75733ca4063339>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

(22:19:29)

thanks for moving the thread <3

I just updated and i have no Errors so far in my log :)
(2.0.5057)

Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in <ca61143325f14f66a88212c66f5df85f>:0

at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in <ca61143325f14f66a88212c66f5df85f>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

I just updated to the latest release and I am getting the CanMoveItem errors as shown above. 

This seems to be triggered by RIGHT-CLICK moving weapons..  dragging doesn't seem to do it.

I've just updated the plugin, please reply here if you have any further issues!

Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in :0 at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

console is spammed with this mod partly works.

would it be possible to update the 3.2.2 version this was a solid working version

G3kbanHVnfSD1mK.png MrBlue

I've just updated the plugin, please reply here if you have any further issues!

Thank you soooo much!! It works fantastic!

fixed well done

Still doesnt work for me 

Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in <5146fc2769564d60b5b059a7a8f832a5>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in <5146fc2769564d60b5b059a7a8f832a5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
someone3

Still doesnt work for me 

Failed to call hook 'CanMoveItem' on plugin 'StackSizeController v3.4.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.StackSizeController.CanMoveItem (Item item, PlayerInventory playerLoot, System.UInt32 targetContainer, System.Int32 targetSlot, System.Int32 amount) [0x0001a] in <5146fc2769564d60b5b059a7a8f832a5>:0
at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00e7e] in <5146fc2769564d60b5b059a7a8f832a5>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
You are not updated.
Locked automatically