ArgumentNullException at Rust.Workshop.ApprovedSkinInfoError
Kleementin
Another method of verification would be nice. My steam account is private and shall stay this way.

Added a few methods. The verification is temporary right now due to abuse, but we'll eventually have that linked with our site instead.

matrixxx
Hello,
I have an error with version 0.1.26

Failed to call 'OnLootSpawn' hook on 'MagicLoot v0.1.26' plugin (ArgumentNullException: value cannot be null.
Parameter name: source)
at System.Linq.Enumerable.TryGetFirst [TSource]

How to correct the problem thank you

Hello, Could someone please respond to the error I currently have? thank you

matrixxx

Hello, Could someone please respond to the error I currently have? thank you

It is the same the others are having in this thread, which the solution would essentially be the same for each plugin.

5e13a8d5b2bc5.jpg Wulf

It is the same the others are having in this thread, which the solution would essentially be the same for each plugin.

You say the solution is the same for each plugin, and that i can understand, but i dont understand where the solution is. There's nothing in this forumpost about it, and i also joined the discord to see any mention of it, and solutions. All i see is one guy asking for a solution, but none had any suggestion for him, and no one even answer him.

Am i looking in the wrong place? Can you advice on where to look for the solution if so? Sorry to bother you further on the subject.

rhilz

You say the solution is the same for each plugin, and that i can understand, but i dont understand where the solution is. There's nothing in this forumpost about it, and i also joined the discord to see any mention of it, and solutions. All i see is one guy asking for a solution, but none had any suggestion for him, and no one even answer him.

Am i looking in the wrong place? Can you advice on where to look for the solution if so? Sorry to bother you further on the subject.

There isn't a solid solution yet, only some tests that have been done with some individuals. The issue isn't 100% reproducable for everyone so far, but is indeed due to something that changed in the game. A fix would either have to be made to each plugin, the game server itself, or a patch made by Oxide to the game.

I can recreate the issue on my test server. Friend request sent to @k1lly0u If anyone else want me to test something, feel free to contact me any time.
 

Hello All,

Since last update I noticed when using any workshop items when reloading the plugin it sends out a error. I have went in and deleted the skins out of data/rewards. After this it still put this error print in the consol

06:16 [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 <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 
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 <7447688a9af4433e93bd95e7aa5d4502>:0 
  at Rust.Workshop.Approved.Add_September_3_2020 () [0x00000] in <7447688a9af4433e93bd95e7aa5d4502>:0 
  at Rust.Workshop.Approved.Add_2020 () [0x00000] in <7447688a9af4433e93bd95e7aa5d4502>:0 
  at Rust.Workshop.Approved..cctor () [0x0000a] in <7447688a9af4433e93bd95e7aa5d4502>:0

I get the above error from RaidableBases, and I cannot make head nor tail of it. I have update my oxide to the latest version, it gives me the error, but it compiles, but then does nothing. 

Complications : Custom Map? Is it perhaps checking for a map size, but not finding one specified in the command line on server startup, because custom map?

 

Like I say, not a clue.

Moved to this thread, read this thread, attempted indicated fix (Remove ImageLibrary, remove the 3 data files, reinstall ImageLibrary). Nope. 

Here is output : 

(19:05:54) | [Image Library] Approved skins loaded
(19:07:24) | Unloaded plugin Raidable Bases v1.4.8 by nivex
(19:07:24) | ExType: TypeInitializationException
(19:07:24) | 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
(19:07:24) | Loaded plugin Raidable Bases v1.4.8 by nivex
TheFriendlyChap

I get the above error from RaidableBases, and I cannot make head nor tail of it. I have update my oxide to the latest version, it gives me the error, but it compiles, but then does nothing. 

a temporarly solution was posted days ago.

Vinzenz

a temporarly solution was posted days ago.

Really? Where? Repost or it didn't happen, since I am not the only one canot find it, maybe be helpful and repost the solution?

For RaidableBases to work set these options:
  },
  "Skins": {
    "Include Workshop Skins": false,
    "Preset Skin": 0,
    "Use Random Skin": false
  },​
5f23e353340b1.png MONaH
For RaidableBases to work set these options:
  },
  "Skins": {
    "Include Workshop Skins": false,
    "Preset Skin": 0,
    "Use Random Skin": false
  },​

I thank you most profusely sir, this one worked, and bases are reappearing on my island :) My sims.... uh, players will be most happy they have things to blow up again.

I have this error on 2 servers and i cant find the problem.

 

 

Having issues with the plugin recently.  I have verified that upgrading to 1.5.0 does not seem to help.

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 <79be4b851000495bbbfc8969cc30133b>:0 
  at Rust.Workshop.Approved.Add_August_27_2020 () [0x00000] in <79be4b851000495bbbfc8969cc30133b>:0 
  at Rust.Workshop.Approved.Add_2020 () [0x00000] in <79be4b851000495bbbfc8969cc30133b>:0 
  at Rust.Workshop.Approved..cctor () [0x0000a] in <79be4b851000495bbbfc8969cc30133b>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Following error is thrown by server:

Following error is thrown by server: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
(03:56:21) | Unloaded plugin Item Skin Randomizer v1.5.0 by Orange
(03:56:21) | No previous version to rollback plugin: ItemSkinRandomizer