(16:00:43) | Failed to call hook 'OnLootSpawn' on plugin 'MagicLoot v0.1.26' (ArgumentNullException: Value cannot be null. Parameter name: source) at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0 at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0 at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0 at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
ArgumentNullException at Rust.Workshop.ApprovedSkinInfoError
has only happened in the last couple of hours.
ItemSkinRandomizer was compiled successfully in 2546ms
ExType: TypeInitializationException
Failed to initialize plugin 'ItemSkinRandomizer v1.5.0' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 1kb/s in, 11kb/s out
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <2569648018f74104874e5909a2e6f3d2>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <2569648018f74104874e5909a2e6f3d2>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <2569648018f74104874e5909a2e6f3d2>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <2569648018f74104874e5909a2e6f3d2>:0
Unloaded plugin Item Skin Randomizer v1.5.0 by Orange All was ok, but today suddenly got troubles with something related to workshop skin. Got these in log
05:07 [Error] ExType: TypeInitializationException
05:07 [Error] Failed to initialize plugin 'ItemSkinRandomizer v1.5.0' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4f$
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:$
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
05:07 [Info] Unloaded plugin Item Skin Randomizer v1.5.0 by Orange
05:07 [Info] No previous version to rollback plugin: ItemSkinRandomizer05:17 [Error] ExType: TypeInitializationException
05:17 [Error] Failed to call hook 'OnServerInitialized' on plugin 'MagicLoot v0.1.26' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4f$
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:$
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
05:17 [Warning] Calling 'OnServerInitialized' on 'MagicLoot v0.1.26' took 212ms05:17 [Error] ExType: TypeInitializationException
05:17 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RaidableBases v1.4.8' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4f$
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:$
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
05:17 [Warning] Calling 'OnServerInitialized' on 'RaidableBases v1.4.8' took 104ms05:31 [Error] ExType: TypeInitializationException
05:31 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RaidableBases v1.4.8' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4f$
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:$
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
05:31 [Warning] Calling 'ImportImageList' on 'ImageLibrary v2.0.54' took 443ms [GARBAGE COLLECT]05:31 [Error] ExType: TypeInitializationException
05:31 [Error] Failed to call hook 'OnServerInitialized' on plugin 'ServerRewards v0.4.73' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4f$
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:$
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
05:31 [Warning] Calling 'OnServerInitialized' on 'ServerRewards v0.4.73' took 2891ms [GARBAGE COLLECT]Can anyone tell me how to fix this?
same also and i have same problem with workshop (MagicLoot)
Restored whole oxide directory from yesterday's backup and got no issues. Is latest oxide update causing this?
@Wulf maybe you know?
All plugins are using in their code:
@Wulf maybe you know?
All plugins are using in their code:
Rust.Workshop.Approved.All Doesn't appear to be related to Oxide at all. Are you sure you are fully updated with both?
Yeah, my start script starts with updating server and oxide, so it updated on every start. I Have auto restart daily at 5:05 AM.
In log I have plugins working just fine have prints about spawning bases, etc. But after automated restart got those issues and can't get it back to work.
On test server I deleted the whole oxide directory and restore it from yesterday backup (before servers restart and oxide update) and no issues.
Ok, will try to go deeper
In log I have plugins working just fine have prints about spawning bases, etc. But after automated restart got those issues and can't get it back to work.
On test server I deleted the whole oxide directory and restore it from yesterday backup (before servers restart and oxide update) and no issues.
Ok, will try to go deeper
A TypeInitializationException would generally happen if a DLL fails to load for some reason, so that might be related there.
Also I get this error in the log.
Failed to call hook 'OnServerInitialized' on plugin 'RaidableBases v1.4.8' (ArgumentNullException: Value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <2569648018f74104874e5909a2e6f3d2>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <2569648018f74104874e5909a2e6f3d2>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <2569648018f74104874e5909a2e6f3d2>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <2569648018f74104874e5909a2e6f3d2>:0 The plugin is up to date and was working yesterday now I get this error when I try to reload it. https://gyazo.com/5432b82bda71b555d19b36382f25a886
I have hourly backups on my server. First time I had those problems after server reloaded at 5 AM. But I became aware of those messages much later.
I was experimenting on my test server trying to figure it out and I found that if I restore whole oxide directory from backup even after the problem was there, it works! My tested backup was 21:50 pm and no issues after restoring it. Tried restoring 22:50 and issue was there. I have no clue what's causing it, but I just restored 21:50 backup and then replaced data files like backpacks, zlevels etc... The problem is gone by now, but I'm afraid that it can come back after next restart :(
The problem described here is related to
I was experimenting on my test server trying to figure it out and I found that if I restore whole oxide directory from backup even after the problem was there, it works! My tested backup was 21:50 pm and no issues after restoring it. Tried restoring 22:50 and issue was there. I have no clue what's causing it, but I just restored 21:50 backup and then replaced data files like backpacks, zlevels etc... The problem is gone by now, but I'm afraid that it can come back after next restart :(
The problem described here is related to
Rust.Workshop.Approvedand there are multiple plugins using it affected.
I deleted all my files and reinstalled the plugin but I am getting the following error:
ItemSkinRandomizer was compiled successfully in 1981ms
ExType: TypeInitializationException
Failed to initialize plugin 'ItemSkinRandomizer v1.5.0' (ArgumentNullException: Value cannot be null. Parameter name: source) at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Rust.Workshop.ApprovedSkinInfo..ctor (System.UInt64 WorkshopdId, System.String Name, System.String Desc, System.String ItemName) [0x00037] in <1bd25568a3b14070a221ee586174fa06>:0 at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0 at Rust.Workshop.Approved.Add_2020 () [0x00000] in <1bd25568a3b14070a221ee586174fa06>:0 at Rust.Workshop.Approved..cctor () [0x0000a] in <1bd25568a3b14070a221ee586174fa06>:0
Unloaded plugin Item Skin Randomizer v1.5.0 by Orange
For those having this issue, please update Rust and use the version command.
After you've done that, install the latest Oxide build and use the oxide.version AND version commands.
Please show the results here for both command replies.
After you've done that, install the latest Oxide build and use the oxide.version AND version commands.
Please show the results here for both command replies.
What is the version command?
tbiggieWhat is the version command?
It is global.version for the server build, and oxide.version for Oxide.