Unable to load the AI errorNot An Issue

So, I installed the new Oxide update and my console is spamming this (Unloaded all plugins as well):

 Unable to load the AI: HTN.Domain.Scientist.MilitaryTunnel. Additional details: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at Apex.Utilities.ApexReflection+<>c.<GetRelevantTypes>b__0_1 (System.Reflection.Assembly a) [0x00000] in <787a2dc0b1ce4c1cbf241b55159b5f2a>:0 
  at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 
  at Apex.Serialization.SerializationMaster.PopulateKnownSerializers () [0x00143] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.Serialization.SerializationMaster.EnsureInit () [0x0001e] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.Serialization.SerializationMaster.Deserialize[T] (System.String data, System.Collections.Generic.ICollection`1[T] requiresInit) [0x00000] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.AI.AIManager.ReadAndInit (Apex.AI.AIManager+AIData data) [0x00006] in <f099585cca9b44ec90de92bcaa4581a5>:0
(20:51:28) | System.ArgumentException: Unable to load associated AI.
Parameter name: aiId
  at Apex.AI.Components.UtilityAIClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00025] in <f099585cca9b44ec90de92bcaa4581a5>:0 
  at Rust.Ai.HTN.HTNUtilityAiClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistDomain.Initialize (BaseEntity body) [0x0003a] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at HTNPlayer.ServerInit () [0x0004b] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at BaseNetworkable.Spawn () [0x00038] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnScientist () [0x000b2] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.DoRespawn () [0x00014] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.CheckIfRespawnNeeded () [0x00072] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnRepeating () [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at SpawnHandler+<SpawnGroupTick>c__Iterator1.MoveNext () [0x000c8] in <cde44649a4b3418d85e35067bd8895ea>:0
That error is not related to Oxide, looks like your server isn't fully updated with Rust and likely using an old Oxide build.
Alright thanks. Will give it another try and see what the result is
Hey first time installing oxide on my sever today. Had everything working on my test server and now I see this spammed in console.

Parameter name: aiId
  at Apex.AI.Components.UtilityAIClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00025] in <f099585cca9b44ec90de92bcaa4581a5>:0 
  at Rust.Ai.HTN.HTNUtilityAiClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistDomain.Initialize (BaseEntity body) [0x0003a] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at HTNPlayer.ServerInit () [0x0004b] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at BaseNetworkable.Spawn () [0x00038] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnScientist () [0x000b2] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.DoRespawn () [0x00014] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.CheckIfRespawnNeeded () [0x00072] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnRepeating () [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at SpawnHandler+<SpawnGroupTick>c__Iterator1.MoveNext () [0x000c8] in <cde44649a4b3418d85e35067bd8895ea>:0
(15:01:57) | Unable to load the AI: HTN.Domain.Scientist.MilitaryTunnel. Additional details: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at Apex.Utilities.ApexReflection+<>c.<GetRelevantTypes>b__0_1 (System.Reflection.Assembly a) [0x00000] in <787a2dc0b1ce4c1cbf241b55159b5f2a>:0 
  at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 
  at Apex.Serialization.SerializationMaster.PopulateKnownSerializers () [0x00143] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.Serialization.SerializationMaster.EnsureInit () [0x0001e] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.Serialization.SerializationMaster.Deserialize[T] (System.String data, System.Collections.Generic.ICollection`1[T] requiresInit) [0x00000] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.AI.AIManager.ReadAndInit (Apex.AI.AIManager+AIData data) [0x00006] in <f099585cca9b44ec90de92bcaa4581a5>:0
(15:01:57) | System.ArgumentException: Unable to load associated AI.
Parameter name: aiId
  at Apex.AI.Components.UtilityAIClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00025] in <f099585cca9b44ec90de92bcaa4581a5>:0 
  at Rust.Ai.HTN.HTNUtilityAiClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistDomain.Initialize (BaseEntity body) [0x0003a] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at HTNPlayer.ServerInit () [0x0004b] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at BaseNetworkable.Spawn () [0x00038] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnScientist () [0x000b2] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.DoRespawn () [0x00014] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.CheckIfRespawnNeeded () [0x00072] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnRepeating () [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at SpawnHandler+<SpawnGroupTick>c__Iterator1.MoveNext () [0x000c8] in <cde44649a4b3418d85e35067bd8895ea>:0
(15:02:00) | Unable to load the AI: HTN.Domain.Scientist.MilitaryTunnel. Additional details: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
  at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0 
  at Apex.Utilities.ApexReflection+<>c.<GetRelevantTypes>b__0_1 (System.Reflection.Assembly a) [0x00000] in <787a2dc0b1ce4c1cbf241b55159b5f2a>:0 
  at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0 
  at Apex.Serialization.SerializationMaster.PopulateKnownSerializers () [0x00143] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.Serialization.SerializationMaster.EnsureInit () [0x0001e] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.Serialization.SerializationMaster.Deserialize[T] (System.String data, System.Collections.Generic.ICollection`1[T] requiresInit) [0x00000] in <0d695bbde48d4a0ba4aca5de12bad37e>:0 
  at Apex.AI.AIManager.ReadAndInit (Apex.AI.AIManager+AIData data) [0x00006] in <f099585cca9b44ec90de92bcaa4581a5>:0
(15:02:00) | System.ArgumentException: Unable to load associated AI.
Parameter name: aiId
  at Apex.AI.Components.UtilityAIClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00025] in <f099585cca9b44ec90de92bcaa4581a5>:0 
  at Rust.Ai.HTN.HTNUtilityAiClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistDomain.Initialize (BaseEntity body) [0x0003a] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at HTNPlayer.ServerInit () [0x0004b] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at BaseNetworkable.Spawn () [0x00038] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnScientist () [0x000b2] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.DoRespawn () [0x00014] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.CheckIfRespawnNeeded () [0x00072] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnRepeating () [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0 
  at SpawnHandler+<SpawnGroupTick>c__Iterator1.MoveNext () [0x000c8] in <cde44649a4b3418d85e35067bd8895ea>:0​
That error is not related to Oxide, looks like your server isn't fully updated with Rust and likely using an old Oxide build.
R.i.p I forgot to update my sever. Sorry about that. My mistake.

@Wulf Rust Server are fully updated and used Build: v2.0.4070

Build: v2.0.4072 fixed it - I wrote it before v2.0.4072 got dropped. Lel

In response to Arox ():
@Wulf Rust Server are fully updated and used Build: v2.0.4070Build: v2.0.4072 fixed it - I wrote it...
The error was not in 4070, you would have had to have been using a build before that where you would be mixing Rust versions, else the server was not updated with Rust first. The error essentially means that you're missing parts of Rust. ;)

I just applied the new Oxide Build v2.0.4072 and did NOT updated the server. This fixed it.

When updated hit, I updated server & applied v2.0.4070 then. Weird, not blaming, just explaining.

Ever since i updated my server with today's patch, everyone gets DC with the RPC error for killing an NPC. Doesn't matter if its a bot from BotSpawn or Scientist from Facepunch. And then in my RCon on rust admin, i get the following message repeatedly. Sorry it is very long. Any help is greatly appreciated.

(17:13:30) | Saved 37,107 ents, cache(0.13), write(0.08), disk(0.01).
(17:13:31) | Saving complete
(17:13:33) | Unable to load the AI: HTN.Domain.Scientist.MilitaryTunnel. Additional details: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <e1a80661d61443feb3dbdaac88eeb776>:0
at Apex.Utilities.ApexReflection+<>c.<GetRelevantTypes>b__0_1 (System.Reflection.Assembly a) [0x00000] in <787a2dc0b1ce4c1cbf241b55159b5f2a>:0
at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <839a3cb835c04d14aeb58d83bb7bc4bd>:0
at Apex.Serialization.SerializationMaster.PopulateKnownSerializers () [0x00143] in <0d695bbde48d4a0ba4aca5de12bad37e>:0
at Apex.Serialization.SerializationMaster.EnsureInit () [0x0001e] in <0d695bbde48d4a0ba4aca5de12bad37e>:0
at Apex.Serialization.SerializationMaster.Deserialize[T] (System.String data, System.Collections.Generic.ICollection`1[T] requiresInit) [0x00000] in <0d695bbde48d4a0ba4aca5de12bad37e>:0
at Apex.AI.AIManager.ReadAndInit (Apex.AI.AIManager+AIData data) [0x00006] in <f099585cca9b44ec90de92bcaa4581a5>:0
(17:13:33) | System.ArgumentException: Unable to load associated AI.
Parameter name: aiId
at Apex.AI.Components.UtilityAIClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00025] in <f099585cca9b44ec90de92bcaa4581a5>:0
at Rust.Ai.HTN.HTNUtilityAiClient..ctor (System.Guid aiId, Apex.AI.Components.IContextProvider contextProvider) [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0
at Rust.Ai.HTN.Scientist.ScientistDomain.Initialize (BaseEntity body) [0x0003a] in <cde44649a4b3418d85e35067bd8895ea>:0
at HTNPlayer.ServerInit () [0x0004b] in <cde44649a4b3418d85e35067bd8895ea>:0
at BaseNetworkable.Spawn () [0x00038] in <cde44649a4b3418d85e35067bd8895ea>:0
at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnScientist () [0x000b2] in <cde44649a4b3418d85e35067bd8895ea>:0
at Rust.Ai.HTN.Scientist.ScientistSpawner.DoRespawn () [0x00014] in <cde44649a4b3418d85e35067bd8895ea>:0
at Rust.Ai.HTN.Scientist.ScientistSpawner.CheckIfRespawnNeeded () [0x00072] in <cde44649a4b3418d85e35067bd8895ea>:0
at Rust.Ai.HTN.Scientist.ScientistSpawner.SpawnRepeating () [0x00000] in <cde44649a4b3418d85e35067bd8895ea>:0
at SpawnHandler+<SpawnGroupTick>c__Iterator1.MoveNext () [0x000c8] in <cde44649a4b3418d85e35067bd8895ea>:0
In response to Vilesyde ():
Ever since i updated my server with today's patch, everyone gets DC with the RPC error for killing a...
Sounds like your server isn't fully updated else you are using an old Oxide build with older Rust files in it.
thank you, just saw that, sorry

Merged post

I have tried reinstalling oxide, ive updated. Everything. It still kicks everyone when they kill a bot/scientist. RPC error. Any idea? I even downloaded the new oxide manually and installed it.
In response to Vilesyde ():
thank you, just saw that, sorry

Merged post

I have tried reinstalling oxide, i...
RPC error in onprojectileattack
In response to Vilesyde ():
thank you, just saw that, sorry

Merged post

I have tried reinstalling oxide, i...
What version does oxide.version show? I don't think an RPC error is related to this thread/error.
Locked automatically