Receiving same error since the latest Oxide release [ Oxide 2.0.4762 for Rust 137 (2256.198.1) ]
ArgumentNullException at Rust.Workshop.ApprovedSkinInfoError
Ok, I updated my server, updated Oxide. I tried removing ImageLibrary, re-installing it after wiping data files. Ditto ItemSkinRandomizer. Still, I get a TypeInitializationException error, and it refuses to compile, then I get an error : No previous version to rollback plugin: ItemSkinRandomizer
And ofc the plugin no work in this state. Wait for update?
And ofc the plugin no work in this state. Wait for update?
Hi, I am unable to load the plugin with the following errors. I have installed it on 2 servers both fully updated.
Thanks in advance
ItemSkinRandomizer was compiled successfully in 1733ms
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 :0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in :0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in :0
at Rust.Workshop.Approved..cctor () [0x0000a] in :0 So, there is a solution for this issue, thanks to @MJSU.
The issue was caused by Item Skin Randomizer plugin was trying to use skins to early.
This behaviour broke the whole thing related to workshop skins on this server until reboot, so all plugins witch were using workshop skins were affected. The reason why I had my "magic backup" that was able to "fix an issue" was that I had old version of Item Skin Randomizer in it, so nothing were broken by it.
Patch to plugin sent, so @Wulf, if you will see this faster, than @Orange, please, merge the patch.
The issue was caused by Item Skin Randomizer plugin was trying to use skins to early.
This behaviour broke the whole thing related to workshop skins on this server until reboot, so all plugins witch were using workshop skins were affected. The reason why I had my "magic backup" that was able to "fix an issue" was that I had old version of Item Skin Randomizer in it, so nothing were broken by it.
Patch to plugin sent, so @Wulf, if you will see this faster, than @Orange, please, merge the patch.
Failed to call hook 'OnServerInitialized' on plugin 'ItemSkinRandomizer v1.5.1' (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
it works for me thank you Orange.
LizardMods
it works for me thank you Orange.
Did you just delete the plugin and config file?
Thank you, you guys are heroes :)
Also consider this:
In case your server was loaded with v1.5.0 of Item Skin Randomizer, you need to reboot your server after updating the plugin to v1.5.1 for changes to have effect.
In case your server was loaded with v1.5.0 of Item Skin Randomizer, you need to reboot your server after updating the plugin to v1.5.1 for changes to have effect.
I believe that fixed it. Awesome job, MONaH
yes a fresh install of the pluginHezzikiah
Did you just delete the plugin and config file?
19:04:06 ExType: TypeInitializationException 19:04:06 Failed to call hook 'OnServerInitialized' on plugin 'ItemSkinRandomizer v1.5.1' (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 :0 at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in :0 at Rust.Workshop.Approved.Add_2020 () [0x00000] in :0 at Rust.Workshop.Approved..cctor () [0x0000a] in :0 19:04:06 Loaded plugin Item Skin Randomizer v1.5.1 by Orange (06:02:20) | Unloaded plugin Item Skin Randomizer v1.5.2 by Orange
(06:02:20) | ExType: TypeInitializationException
(06:02:20) | Failed to call hook 'OnServerInitialized' on plugin 'ItemSkinRandomizer v1.5.2' (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 <dee0614325b944669f59f5f3e621c178>:0
at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <dee0614325b944669f59f5f3e621c178>:0
at Rust.Workshop.Approved.Add_2020 () [0x00000] in <dee0614325b944669f59f5f3e621c178>:0
at Rust.Workshop.Approved..cctor () [0x0000a] in <dee0614325b944669f59f5f3e621c178>:0
(06:02:21) | Loaded plugin Item Skin Randomizer v1.5.2 by Orange Had error. used "restart". all working fine. much pretty, thanks much.
I have the problem that my sunburn stuff won't skin.
Skins just won't load.
And as long as these are trying to load no other skins from crafted items are being loaded too.
I have the newest Item Skin Randomizer version.
Merged post
I use the sunburn stuff in a kit so it comes all at once into the inventory and tries to load the different skins but won't make it.
Merged post
If I craft something like a boogey board the skin does come with it.
It's a problem of having it in a kit it seems.
Skins just won't load.
And as long as these are trying to load no other skins from crafted items are being loaded too.
I have the newest Item Skin Randomizer version.
Merged post
I use the sunburn stuff in a kit so it comes all at once into the inventory and tries to load the different skins but won't make it.
Merged post
If I craft something like a boogey board the skin does come with it.
It's a problem of having it in a kit it seems.