When harvesting a sap tree that contained an auto waypoint from a previous version of the mod, the game crashed, showing the stack trace below. I am guessing one of my installed mods is an incompatibility and will try to isolate the offending mod, but I figured I'd make a bug report so you are aware
Game Version: v1.17.2 (Stable)
9/8/2022 8:46:46 PM: Critical error occurred in the following mod: [email protected]
Loaded Mods: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Involved Harmony IDs: ApacheTech.VintageMods.CampaignCartographer, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null
System.TypeInitializationException: The type initializer for 'Gantry.Services.FileSystem.Features.SettingsConsumer`1' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Common Language Runtime detected an invalid program.
at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetMethodHandle(MethodBase method)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetIdentifiable(MethodBase method)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
at HarmonyLib.PatchProcessor.Patch()
at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableObject`1..ctor(T instance)
at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1..ctor(T instance, String featureName, FileScope scope)
at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1.Bind(T instance, String featureName, FileScope scope)
at Gantry.Services.FileSystem.Configuration.JsonSettingsFile.Feature[T](String featureName)
at Gantry.Services.FileSystem.Features.SettingsConsumer`1..cctor()
--- End of inner exception stack trace ---
at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.HandleResin(Block block)
at ApacheTech.VintageMods.CampaignCartographer.Features.AutoWaypoints.AutoWaypointPatchHandler.HandleInteraction(Block block)
at Vintagestory.API.Common.Block.OnBlockInteractStart_Patch4(Block this, IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.TryBeginUseBlock(Block selectedBlock, BlockSelection blockSelection) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 890
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleMouseInteractionsBlockSelected(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 536
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnFinalizeFrame(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 89
at Vintagestory.Client.NoObf.ClientEventManager.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\Util\ClientEventManager.cs:line 199
at Vintagestory.Client.NoObf.ClientMain.TriggerRenderStage(EnumRenderStage stage, Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1176
at Vintagestory.Client.NoObf.ClientMain.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 1364
at Vintagestory.Client.GuiScreenRunningGame.RenderToDefaultFramebuffer(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 204
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 711
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 615
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 132
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 479
at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 454
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Common Language Runtime detected an invalid program.
at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeNETPlatform.GetMethodHandle(MethodBase method)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetIdentifiable(MethodBase method)
at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.Pin(MethodBase method)
at MonoMod.RuntimeDetour.DetourHelper.Pin[T](T method)
at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary`2& finalInstructions)
at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo)
at HarmonyLib.PatchProcessor.Patch()
at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableObject`1..ctor(T instance)
at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1..ctor(T instance, String featureName, FileScope scope)
at Gantry.Services.FileSystem.Configuration.ObservableFeatures.ObservableFeatureSettings`1.Bind(T instance, String featureName, FileScope scope)
at Gantry.Services.FileSystem.Configuration.JsonSettingsFile.Feature[T](String featureName)
at Gantry.Services.FileSystem.Features.SettingsConsumer`1..cctor()
System.InvalidProgramException: Common Language Runtime detected an invalid program.
at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 9/4/2022 12:24:50 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 2006920362229108847, type 5
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0
Problem signature:
P1: Vintagestory.exe
P2: 1.17.2.0
P3: 10.0.19044.2.0.0
P4:
P5:
P6:
P7:
P8:
P9:
P10:
Attached files:
\\?\C:\Users\event\AppData\Local\Temp\RDR7E81.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E82.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7E93.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7EA0.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7ED0.tmp.txt
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: dc9b5b02-a95a-4138-96b9-7b1ed11346ea
Report Status: 268435456
Hashed bucket: da2be6635593937aebda036fb32a106f
Cab Guid: 0 }
--------------
{ TimeGenerated = 8/4/2022 11:33:01 PM, Site = , Source = Windows Error Reporting, Message = Fault bucket 2177858694758095880, type 5
Event Name: RADAR_PRE_LEAK_64
Response: Not available
Cab Id: 0
Problem signature:
P1: Vintagestory.exe
P2: 1.17.0.0
P3: 10.0.19044.2.0.0
P4:
P5:
P6:
P7:
P8:
P9:
P10:
Attached files:
\\?\C:\Users\event\AppData\Local\Temp\RDR4417.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4418.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4419.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4412.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER4432.tmp.txt
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: 672d846b-a7d1-4393-8b5e-b7f8ee3b7633
Report Status: 268435456
Hashed bucket: cd7dc5185a521ef09e394ef1b00d5c08
Cab Guid: 0 }```