Open MihailHavenT opened 3 years ago
System.TypeLoadException: Could not resolve type with token 010000aa (from typeref, class/assembly UnityEngine.TransformExtension, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x0002c] in <eae584ce26bc40229c1b1aa476bfa589>:0
at NewEssentials.Players.AfkChecker.OnPlayerJoin (System.IServiceProvider serviceProvider, System.Object sender, OpenMod.Unturned.Users.Events.UnturnedUserConnectedEvent event) [0x0001c] in <380623d1227f441c97d49cefd3af117a>:0
at OpenMod.Core.Eventing.EventBus+<>c__DisplayClass6_0`1[TEvent].<Subscribe>b__0 (System.IServiceProvider serviceProvider, System.Object sender, OpenMod.API.Eventing.IEvent event) [0x00000] in <012f99579d3e413e90879706f607317a>:0
at OpenMod.Core.Eventing.EventBus+<EmitAsync>d__13.MoveNext () [0x00311] in <012f99579d3e413e90879706f607317a>:0```
[2021-08-18 20:57:42 ERR][OpenMod.Core.Commands.CommandExecutor] Exception occured on command "home" by actor player/CloudBlock19 (76561199178070344)
System.NullReferenceException
at (wrapper managed-to-native) UnityEngine.Transform.get_position_Injected(UnityEngine.Transform,UnityEngine.Vector3&)
at UnityEngine.Transform.get_position () [0x00000] in <35c5d27459674015b242994b0c11156b>:0
at OpenMod.UnityEngine.Transforms.UnityTransform.get_Position () [0x0000e] in <5f3feafb6232426ebd27d12809c9f891>:0
at NewEssentials.Players.TeleportService+<TeleportAsync>d__2.MoveNext () [0x0013a] in <114d4403c5644b089d8d6ae19d67b974>: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`1[TResult].GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at NewEssentials.Commands.Home.CHome+<OnExecuteAsync>d__6.MoveNext () [0x00354] in <114d4403c5644b089d8d6ae19d67b974>: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 <b570aeb885074593be3f1a2137ad3fbd>:0
at Cysharp.Threading.Tasks.UniTaskExtensions+<>c.<AsTask>b__35_0 (System.Object state) [0x00016] in <b570aeb885074593be3f1a2137ad3fbd>: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.Commands.CommandExecutor+<ExecuteAsync>d__7.MoveNext () [0x00396] in <ce9c6583778c41c796de539ccab83bf7>:0
[2021-08-09 22:35:51 ERR][SDG.Unturned] An item with the same key has already been added. Key: 76561199123510239
[2021-08-09 22:35:51 ERR][SDG.Unturned] at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at NewEssentials.Players.TeleportRequestManager.AddPlayer (SDG.Unturned.SteamPlayer newPlayer) [0x0001b] in <114d4403c5644b089d8d6ae19d67b974>:0
at (wrapper delegate-invoke) <Module>.invoke_void_SteamPlayer(SDG.Unturned.SteamPlayer)
at SDG.Unturned.Provider.broadcastEnemyConnected (SDG.Unturned.SteamPlayer player) [0x00009] in <46c02ba799bc45339b988c80e129c3b1>:0
I have tried to fix these errors in 1.4.13. Let me know if it works, I don't have the time to test it myself.
Okay sir
Do these issues appear to be resolved?
solved
Some new suggestions and fixes for the NewEssentials plugin:
config.yaml
!
1.
2.