dunno what happened with the update but mod just gets auto disabled during the adding content part of a server starting.
[18:32:55.945] [Main Thread/ERROR] [tML]: An error occurred while loading SubworldLibrary v2.2.1
The mod(s) have been automatically disabled.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.UnauthorizedAccessException: Native detouring permissions not granted to SubworldLibrary.
Mods should use HookEndpointManager for compatibility.
If Detour or NativeDetour are required, call MonoModHooks.RequestNativeAccess()
at Terraria.ModLoader.MonoModHooks.NativeAccessCheck(Assembly asm) in tModLoader\Terraria\ModLoader\MonoModHooks.cs:line 105
at Terraria.ModLoader.MonoModHooks.<>c.b7_5(Assembly asm, MethodBase from, Manipulator manipulator) in tModLoader\Terraria\ModLoader\MonoModHooks.cs:line 69
at MonoMod.RuntimeDetour.DetourModManager.RegisterILHook(ILHook _detour, MethodBase from, Manipulator manipulator)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at MonoMod.Utils.Extensions.InvokeWhileTrue(MulticastDelegate md, Object[] args)
at MonoMod.RuntimeDetour.ILHook.Apply()
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator, ILHookConfig& config)
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator)
at SubworldLibrary.SubworldLibrary.Load() in SubworldLibrary.cs:line 160
at Terraria.ModLoader.ModContent.<>c.b42_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 317
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 383
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 310
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 126
[18:32:55.946] [Main Thread/INFO] [tML]: Disabling Mod: SubworldLibrary
dunno what happened with the update but mod just gets auto disabled during the adding content part of a server starting.
[18:32:55.945] [Main Thread/ERROR] [tML]: An error occurred while loading SubworldLibrary v2.2.1 The mod(s) have been automatically disabled. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UnauthorizedAccessException: Native detouring permissions not granted to SubworldLibrary. Mods should use HookEndpointManager for compatibility. If Detour or NativeDetour are required, call MonoModHooks.RequestNativeAccess() at Terraria.ModLoader.MonoModHooks.NativeAccessCheck(Assembly asm) in tModLoader\Terraria\ModLoader\MonoModHooks.cs:line 105 at Terraria.ModLoader.MonoModHooks.<>c.b7_5(Assembly asm, MethodBase from, Manipulator manipulator) in tModLoader\Terraria\ModLoader\MonoModHooks.cs:line 69
at MonoMod.RuntimeDetour.DetourModManager.RegisterILHook(ILHook _detour, MethodBase from, Manipulator manipulator)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at MonoMod.Utils.Extensions.InvokeWhileTrue(MulticastDelegate md, Object[] args)
at MonoMod.RuntimeDetour.ILHook.Apply()
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator, ILHookConfig& config)
at MonoMod.RuntimeDetour.ILHook..ctor(MethodBase from, Manipulator manipulator)
at SubworldLibrary.SubworldLibrary.Load() in SubworldLibrary.cs:line 160
at Terraria.ModLoader.ModContent.<>c.b 42_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 317
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 383
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 310
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 126
[18:32:55.946] [Main Thread/INFO] [tML]: Disabling Mod: SubworldLibrary