Expection of type 'System.Reflection.ReflectionTypeLoadException' was thrownNot An Issue

I am getting this error when I start the server anyobody know why?

 

ReflectionTypeLoadExpection: Expection of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

I'd suggest checking your Unity/Rust server log (where -logfile would be set to) for the full error. Impossible to know otherwise.

What would be the pathway for the log?

It'd be where -logfile is set to in your startup script.

I get this error as well, once I revert back to old Oxide I do not see this and can run > version. 

SteamCMD says app is up to date, but when I run version I see:

> version
Protocol: 2321.218.1
Build Date: 11/04/2021 15:02:22
Unity Version: 2019.4.22f1
Changeset: 66486
Branch: release

So it would seem that is a lie..

If app_update isn't working what would you suggest?

That being said, It seems the app is complaining about:

ReflectionTypeLoadException: 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 <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Apex.LoadBalancing.LoadBalancerComponent+<>c.<ResolveLoadBalancers>b__10_0 (System.Reflection.Assembly asm) [0x00000] in <202755f988f04042b9dce0287e399a48>:0 
  at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].ToArray () [0x0003e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Apex.LoadBalancing.LoadBalancerComponent.ResolveLoadBalancers () [0x00102] in <202755f988f04042b9dce0287e399a48>:0 
  at Apex.LoadBalancing.LoadBalancerComponent.OnAwake () [0x00000] in <202755f988f04042b9dce0287e399a48>:0 
  at Apex.SingleInstanceComponent`1[T].Awake () [0x00033] in <202755f988f04042b9dce0287e399a48>:0 
UnityEngine.GameObject:SetActive(Boolean)
PoolableEx:AwakeFromInstantiate(GameObject)
GameManager:CreatePrefab(String, Vector3, Quaternion, Boolean)
Prefab:Spawn(Vector3, Quaternion, Boolean)
WorldSetup:Awake()

I will update if I can get Rust to update.



Merged post

So the trick was I needed to re-enter my
force_install_dir​

Once I did that and ran my

app_update 258550 validate

Everything was peachy.. Hope this helps someone

akz0rz

I get this error as well, once I revert back to old Oxide I do not see this and can run > version. 

SteamCMD says app is up to date, but when I run version I see:

> version
Protocol: 2321.218.1
Build Date: 11/04/2021 15:02:22
Unity Version: 2019.4.22f1
Changeset: 66486
Branch: release

So it would seem that is a lie..

If app_update isn't working what would you suggest?

That being said, It seems the app is complaining about:

ReflectionTypeLoadException: 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 <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Apex.LoadBalancing.LoadBalancerComponent+<>c.<ResolveLoadBalancers>b__10_0 (System.Reflection.Assembly asm) [0x00000] in <202755f988f04042b9dce0287e399a48>:0 
  at System.Linq.Enumerable+<SelectManyIterator>d__167`3[TSource,TCollection,TResult].MoveNext () [0x0004e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable+WhereSelectEnumerableIterator`2[TSource,TResult].ToArray () [0x0003e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Apex.LoadBalancing.LoadBalancerComponent.ResolveLoadBalancers () [0x00102] in <202755f988f04042b9dce0287e399a48>:0 
  at Apex.LoadBalancing.LoadBalancerComponent.OnAwake () [0x00000] in <202755f988f04042b9dce0287e399a48>:0 
  at Apex.SingleInstanceComponent`1[T].Awake () [0x00033] in <202755f988f04042b9dce0287e399a48>:0 
UnityEngine.GameObject:SetActive(Boolean)
PoolableEx:AwakeFromInstantiate(GameObject)
GameManager:CreatePrefab(String, Vector3, Quaternion, Boolean)
Prefab:Spawn(Vector3, Quaternion, Boolean)
WorldSetup:Awake()

I will update if I can get Rust to update.



Merged post

So the trick was I needed to re-enter my
force_install_dir​

Once I did that and ran my

app_update 258550 validate

Everything was peachy.. Hope this helps someone

Yeah I just made a whole new server and moved the plugins in, thanks

Locked automatically