Kr4ken-9 / NewEssentials

The Essential plugin for Unturned, built on OpenMod
GNU General Public License v3.0
13 stars 13 forks source link

Error on plugin load #87

Closed iamsilk closed 3 years ago

iamsilk commented 3 years ago
[14:19:41 ERR][OpenMod.Core.Plugins.PluginActivator] Failed to load plugin: New Essentials v1.4.6
System.InvalidOperationException: Unable to resolve service for type 'OpenMod.Unturned.Users.IUnturnedUserDirectory' while attempting to activate 'NewEssentials.Players.AfkChecker'.
  at Microsoft.Extensions.DependencyInjection.ActivatorUtilities+ConstructorMatcher.CreateInstance (System.IServiceProvider provider) [0x00058] in <e58e9b026f204367b02ce59775dfd1ed>:0
  at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance (System.IServiceProvider provider, System.Type instanceType, System.Object[] parameters) [0x000c3] in <e58e9b026f204367b02ce59775dfd1ed>:0
  at OpenMod.Core.Ioc.ActivatorUtilitiesEx.CreateInstance (Autofac.ILifetimeScope lifetimeScope, System.Type instanceType, System.Object[] parameters) [0x0002d] in <e7c494710e7845bbb43ecef58accb58a>:0
  at OpenMod.Core.Ioc.ActivatorUtilitiesEx.CreateInstance[T] (Autofac.ILifetimeScope lifetimeScope, System.Object[] parameters) [0x0001a] in <e7c494710e7845bbb43ecef58accb58a>:0
  at NewEssentials.NewEssentials+<OnLoadAsync>d__12.MoveNext () [0x00145] in <967ec06eb54b4101b6ad1eb9cfbe38d9>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at Cysharp.Threading.Tasks.CompilerServices.AsyncUniTask`1[TStateMachine].GetResult (System.Int16 token) [0x00000] in <3bd43acd2c244074bad33eb13fe9766a>:0
  at OpenMod.UnityEngine.Plugins.OpenModUnityEnginePlugin+<LoadAsync>d__1.MoveNext () [0x0015e] in <58227a4a957249d7b60a242546de46d2>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at OpenMod.Core.Plugins.PluginActivator+<TryActivatePluginAsync>d__11.MoveNext () [0x003b5] in <e7c494710e7845bbb43ecef58accb58a>:0
DiFFoZ commented 3 years ago

works fine for me

iamsilk commented 3 years ago

Issue with my installation