Jump to content

error spamming the console

Pending 2.1.1

I am getting an error spamming the console and was wondering if this could be related to this plugin?

"ArgumentException: Unable to sort because the IComparer.Compare() method returns inconsistent results. Either a value does not compare equal to itself, or one value repeatedly compared to another value yields different results. IComparer: 'Rust.Ai.HTN.Sensors.EnemyPlayersInRangeSensor+EnemyPlayerInRangeComparer'.

System.Collections.Generic.IntrospectiveSortUtilities.ThrowOrIgnoreBadComparer (System.Object comparer) (at <fb001e01371b4adca20013e0ac763896>:0) System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) (at <fb001e01371b4adca20013e0ac763896>:0) System.Array.Sort[T] (T[] array, System.Int32 index, System.Int32 length, System.Collections.Generic.IComparer`1[T] comparer) (at <fb001e01371b4adca20013e0ac763896>:0) System.Collections.Generic.List`1[T].Sort (System.Int32 index, System.Int32 count, System.Collections.Generic.IComparer`1[T] comparer) (at <fb001e01371b4adca20013e0ac763896>:0) System.Collections.Generic.List`1[T].Sort (System.Collections.Generic.IComparer`1[T] comparer) (at <fb001e01371b4adca20013e0ac763896>:0) Rust.Ai.HTN.Sensors.EnemyPlayersInRangeSensor.Tick (Rust.Ai.HTN.IHTNAgent npc, System.Single deltaTime, System.Single time) (at <24ce5c55532548468e019d888ed94919>:0) Rust.Ai.HTN.Murderer.MurdererDomain.TickSensor (Rust.Ai.HTN.Sensors.INpcSensor sensor, System.Single deltaTime, System.Single time) (at <24ce5c55532548468e019d888ed94919>:0) Rust.Ai.HTN.HTNDomain.TickSensors (System.Single time) (at <24ce5c55532548468e019d888ed94919>:0) Rust.Ai.HTN.HTNDomain.Tick (System.Single time) (at <24ce5c55532548468e019d888ed94919>:0) Rust.Ai.HTN.Murderer.MurdererDomain.Tick (System.Single time) (at <24ce5c55532548468e019d888ed94919>:0) HTNPlayer.InvokedTick () (at <24ce5c55532548468e019d888ed94919>:0) HTNPlayer.Tick () (at <24ce5c55532548468e019d888ed94919>:0) Rust.Ai.AiManager+AgencyHTN.InvokedTick () (at <24ce5c55532548468e019d888ed94919>:0) InvokeHandlerBase`1[T].DoTick () (at <fa58c15034694435809929d9a110f709>:0) InvokeHandlerBase`1[T].LateUpdate () (at <fa58c15034694435809929d9a110f709>:0)"   Any Ideas?

Share this comment

Link to comment


I can't see it being BotSpawn as it doesn't use that AI type.
It does have options to prevent that AI type attacking BotSpawn npcs but, still, I can't see that error coming from there.

HTN murderer is the Scarecrow, as far as I know.

Share this comment

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


Payments Processed

Total payments processed.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.