Under VS 1.22 the game will immediately CTD on holding the BuildingGadget and write around 90,000 lines of repetition for this error in the log
[Error] Exception: Field not found: 'Vintagestory.API.Common.Entities.Entity.Pos'.
at MonoMod.Core.Interop.CoreCLR.V60.InvokeCompileMethod(IntPtr functionPtr, IntPtr thisPtr, IntPtr corJitInfo, CORINFO_METHOD_INFO* methodInfo, UInt32 flags, Byte** nativeEntry, UInt32* nativeSizeOfCode)
at MonoMod.Core.Platforms.Runtimes.Core60Runtime.JitHookDelegateHolder.CompileMethodHook(IntPtr jit, IntPtr corJitInfo, CORINFO_METHOD_INFO* methodInfo, UInt32 flags, Byte** nativeEntry, UInt32* nativeSizeOfCode)
at BuildingGadgets.BuildingGadgetItem.OnHeldIdle(ItemSlot slot, EntityAgent byEntity) in C:\_Programming\Vintage\BuildingGadgets\code\BuildingGadgets\BuildingGadgetItem.cs:line 777
at BuildingGadgets.BuildingGadgetItem.OnHeldIdle(ItemSlot slot, EntityAgent byEntity) in C:\_Programming\Vintage\BuildingGadgets\code\BuildingGadgets\BuildingGadgetItem.cs:line 777
at Vintagestory.Server.ServerSystemInventory.OnUsingTick(Single dt) in VintagestoryLib\Server\Systems\Inventory.cs:line 173
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 36
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 134
at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 882
To replicate, load VS 1.22 with only the Building Gadgets mod enabled, ensure settings are to NOT use paste (same as what im testing with), spawn in the building gadget with commands, attempt to "hold" the gadget, the game will crash
Under VS 1.22 the game will immediately CTD on holding the BuildingGadget and write around 90,000 lines of repetition for this error in the log
To replicate, load VS 1.22 with only the Building Gadgets mod enabled, ensure settings are to NOT use paste (same as what im testing with), spawn in the building gadget with commands, attempt to "hold" the gadget, the game will crash