EvolutionPlugins / Dummy

Unturned / OpenMod plugin. Spawns a dummy and shows the amount of damage.
MIT License
21 stars 7 forks source link

om reload cause crash with dummy plugin installed #54

Closed sunnamed434 closed 9 months ago

sunnamed434 commented 1 year ago
om reload
[11:15:28 INF][OpenMod.Core.Commands.CommandExecutor] Actor console/Console has executed command "om reload"
[11:15:28 INF][OpenMod.Core.Console.ConsoleActor] Reloading OpenMod, this might take a while...
[11:15:28 INF][OpenMod.Runtime.Runtime] OpenMod is shutting down...
[11:15:28 INF][OpenMod.Core.Plugins.PluginActivator] Unloading all plugins...
[11:15:28 INF][OpenMod.Core.Plugins.PluginActivator] > 1 plugins unloaded
[11:15:29 INF][OpenMod.Runtime.Runtime] OpenMod v3.7.4+6bfe3e6f.6bfe3e6f7441555777ff83236ebf6d12bec79cd2 is starting...
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F88F030.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D3A32361A0.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F6DE020.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F444CD0.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F745010.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F751A20.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F75EA30.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F7DAC90.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F774040.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F4D5010.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F625010.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F804010.dll
Fallback handler could not load library C:/Me/Unt/UG/steamapps/common/U3DS/Unturned_Data/MonoBleedingEdge/data-000001D43F653030.dll
Could not find dependency: System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
Could not find dependency: System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
[11:15:29 WRN][OpenMod.Unturned.RocketMod.RocketModIntegration] Economy system was set to RocketMod_Uconomy but Uconomy is not installed. Defaulting to Separate
[11:15:29 INF][OpenMod.Core.Permissions.PermissionRolesDataStore] Permissions have been reloaded
[11:15:29 INF][OpenMod.Runtime.OpenModHostedService] Initializing for host: OpenMod for Unturned v3.7.4+6bfe3e6f.6bfe3e6f7441555777ff83236ebf6d12bec79cd2
[11:15:29 INF][OpenMod.Unturned.OpenModUnturnedHost] OpenMod for Unturned v3.7.4+6bfe3e6f.6bfe3e6f7441555777ff83236ebf6d12bec79cd2 is initializing...
[11:15:29 INF][OpenMod.Unturned.RocketMod.RocketModIntegration] RocketMod is installed, enabling RocketMod integration
Could not load signature of Dummy.Services.DummyUserProvider:DisposeAsync due to: Could not load file or assembly 'System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies.
[11:15:29 FTL][OpenMod.Runtime.Runtime] OpenMod has crashed
Autofac.Core.DependencyResolutionException: An exception was thrown while activating OpenMod.Unturned.Users.UnturnedCommandHandler -> OpenMod.Core.Users.UserManager. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[OpenMod.Core.Users.UserManagerOptions], Autofac.ILifetimeScope)' on type 'UserManager'. ---> System.TypeLoadException: Could not resolve the signature of a virtual method
  at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00029] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at Microsoft.Extensions.DependencyInjection.ActivatorUtilities+ConstructorMatcher.CreateInstance (System.IServiceProvider provider) [0x00082] in <1e4c2dedde034892b74654a96c59b2f8>:0
  at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance (System.IServiceProvider provider, System.Type instanceType, System.Object[] parameters) [0x000c3] in <1e4c2dedde034892b74654a96c59b2f8>:0
  at OpenMod.Core.Ioc.ActivatorUtilitiesEx.CreateInstance (Autofac.ILifetimeScope lifetimeScope, System.Type instanceType, System.Object[] parameters) [0x0002d] in /_/framework/OpenMod.Core/Ioc/ActivatorUtilitiesEx.cs:33
  at OpenMod.Core.Users.UserManager..ctor (Microsoft.Extensions.Options.IOptions`1[TOptions] options, Autofac.ILifetimeScope lifetimeScope) [0x00045] in /_/framework/OpenMod.Core/Users/UserManager.cs:32
  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
  at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate () [0x00066] in <74263cc0905c434eaecb065d73ff9572>:0
   --- End of inner exception stack trace ---
  at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate () [0x000d5] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Activators.Reflection.ReflectionActivator+<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x0004e] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Builder.RegistrationBuilder`3+<>c__DisplayClass41_0[TLimit,TActivatorData,TRegistrationStyle].<PropertiesAutowired>b__0 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
   --- End of inner exception stack trace ---
  at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00031] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Pipeline.ResolvePipeline.Invoke (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x0000a] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x0000b] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.SharingMiddleware+<>c__DisplayClass5_0.<Execute>b__0 () [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance (System.Guid id, System.Func`1[TResult] creator) [0x00046] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance (System.Guid primaryId, System.Nullable`1[T] qualifyingId, System.Func`1[TResult] creator) [0x00017] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x000b5] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.ScopeSelectionMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x00093] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context, System.Action`1[T] next) [0x000ac] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder+<>c__DisplayClass14_0.<BuildPipeline>b__1 (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x00079] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Pipeline.ResolvePipeline.Invoke (Autofac.Core.Resolving.Pipeline.ResolveRequestContext context) [0x0000a] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.ResolveOperation.InvokePipeline (Autofac.ResolveRequest request, Autofac.Core.Resolving.Pipeline.DefaultResolveRequestContext requestContext) [0x00006] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.ResolveRequest request) [0x000ce] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation (Autofac.ResolveRequest request) [0x00070] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Resolving.ResolveOperation.Execute (Autofac.ResolveRequest request) [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent (Autofac.ResolveRequest request) [0x00039] in <74263cc0905c434eaecb065d73ff9572>:0
  at Autofac.Features.LazyDependencies.LazyRegistrationSource+<>c__DisplayClass3_0`1[T].<ResolveInstance>b__0 () [0x00000] in <74263cc0905c434eaecb065d73ff9572>:0
  at System.Lazy`1[T].ViaFactory (System.Threading.LazyThreadSafetyMode mode) [0x00043] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) [0x00022] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at System.Lazy`1[T].CreateValue () [0x00074] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at System.Lazy`1[T].get_Value () [0x0000a] in <47fc8c70fa834cbf8141d7c1a7589125>:0
  at OpenMod.Unturned.OpenModUnturnedHost.InitAsync () [0x000b7] in /_/unturned/OpenMod.Unturned/OpenModUnturnedHost.cs:138
  at OpenMod.Runtime.OpenModHostedService.StartAsync (System.Threading.CancellationToken cancellationToken) [0x000cb] in /_/framework/OpenMod.Runtime/OpenModHostedService.cs:63
  at Microsoft.Extensions.Hosting.Internal.Host.StartAsync (System.Threading.CancellationToken cancellationToken) [0x0015d] in <c3c281c5b9e942fc99da49bc55a61069>:0
  at OpenMod.Runtime.Runtime.InitAsync (System.Collections.Generic.List`1[T] openModHostAssemblies, OpenMod.API.RuntimeInitParameters parameters, System.Func`1[TResult] hostBuilderFunc) [0x006c7] in /_/framework/OpenMod.Runtime/Runtime.cs:277
sunnamed434 commented 9 months ago

Its was wrong loaded libraries issue

sunnamed434 commented 9 months ago

Closing it