tModLoader

tModLoader

Orchid Mod
JJ's Place 3 Nov, 2024 @ 9:05pm
Conflict with Better Game UI mod
Orchid mod has a conflict with better game UI mod. Just wanted to make the issue known.

Logs:
[23:04:06.028] [.NET TP Worker/ERROR] [tML]: An error occurred while loading OrchidMod v1.5.0.2
The mod(s) and any dependencies have been automatically disabled.
This error was caused by the "OrchidMod.Content.Alchemist.Bag.PotionBag" class.
System.InvalidCastException: Unable to cast object of type 'System.Reflection.RtFieldInfo' to type 'Mono.Cecil.FieldReference'.
at MonoMod.Cil.ILPatternMatchingExt.MatchLdfld(Instruction instr, FieldReference& value) in Y:\src\MonoMod\src\MonoMod.Utils\MonoMod.SourceGen.Internal\MonoMod.SourceGen.Internal.Cil.ILOverloadGenerator\Matcher.MonoMod.Cil.ILPatternMatchingExt.g.cs:line 1496
at OrchidMod.Content.Alchemist.Bag.PotionBag.<>c.<IgnoreSelectedItemChange>b__12_3(Instruction i) in OrchidMod\Content\Alchemist\Bag\PotionBag.cs:line 222
at MonoMod.Cil.ILCursor.TryGotoNext(MoveType moveType, Func`2[] predicates) in Y:\src\MonoMod\src\MonoMod.Utils\Cil\ILCursor.cs:line 321
at OrchidMod.Content.Alchemist.Bag.PotionBag.IgnoreSelectedItemChange(ILContext il) in OrchidMod\Content\Alchemist\Bag\PotionBag.cs:line 218
at MonoMod.Cil.ILContext.Invoke(Manipulator manip) in Y:\src\MonoMod\src\MonoMod.Utils\Cil\ILContext.cs:line 91
at MonoMod.RuntimeDetour.DetourManager.ManagedDetourState.UpdateEndOfChain() in Y:\src\MonoMod\src\MonoMod.RuntimeDetour\DetourManager.Managed.cs:line 528
at MonoMod.RuntimeDetour.DetourManager.ManagedDetourState.AddILHook(SingleILHookState ilhook, Boolean takeLock) in Y:\src\MonoMod\src\MonoMod.RuntimeDetour\DetourManager.Managed.cs:line 420
at MonoMod.RuntimeDetour.ILHook.Apply() in Y:\src\MonoMod\src\MonoMod.RuntimeDetour\ILHook.cs:line 226
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase method, Manipulator manipulator, IDetourFactory factory, DetourConfig config, Boolean applyByDefault) in Y:\src\MonoMod\src\MonoMod.RuntimeDetour\ILHook.cs:line 188
at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Modify(MethodBase method, Delegate callback) in Y:\src\MonoMod\src\MonoMod.RuntimeDetour\HookGen\HookEndpointManager.cs:line 87
at OrchidMod.Content.Alchemist.Bag.PotionBag.Load() in OrchidMod\Content\Alchemist\Bag\PotionBag.cs:line 21
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 34
at Terraria.ModLoader.Mod.AddContent(ILoadable instance) in tModLoader\Terraria\ModLoader\Mod.cs:line 161
at OrchidMod.OrchidMod.<LoadContent>b__10_5(Type t) in OrchidMod.cs:line 49
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 129
--- End of stack trace from previous location ---
at Terraria.ModLoader.Core.LoaderUtils.ForEachAndAggregateExceptions[T](IEnumerable`1 enumerable, Action`1 action) in tModLoader\Terraria\ModLoader\Core\LoaderUtils.cs:line 137
at OrchidMod.OrchidMod.Load() in OrchidMod.cs:line 84
at Terraria.ModLoader.ModContent.<>c.<Load>b__44_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 304
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 408
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 298
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 132
[23:04:08.783] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = True): "tModLoader-Logs"
< >
Showing 1-1 of 1 comments
Verveine  [developer] 2 Dec, 2024 @ 7:40pm 
I'll have a look, but I do not know if i'll be able to address this
Thank you
< >
Showing 1-1 of 1 comments
Per page: 1530 50