Jump to content

NullReferenceException

Closed 1.0.9

Hello, Since the last update I got an error message:
11/06 14:22:42 | Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
at BuildingBlock.SetGrade (BuildingGrade+Enum iGrade) [0x00000] in <583dea4f12954adeb3446abf14765a15>:0
at BuildingBlock.ChangeGrade (BuildingGrade+Enum targetGrade, System.Boolean playEffect, System.Boolean updateSkin) [0x00000] in <583dea4f12954adeb3446abf14765a15>:0
at BuildingBlock.ChangeGradeAndSkin (BuildingGrade+Enum targetGrade, System.UInt64 skin, System.Boolean playEffect, System.Boolean updateSkin) [0x0000d] in <583dea4f12954adeb3446abf14765a15>:0
at Oxide.Plugins.BuildingSkins+<OnStructureUpgrade>c__AnonStorey3.<>m__0 () [0x00000] in <7456e8904224462ab4a3e4e309fb3d66>:0
at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <157a94ee66ab4a7991faecd1eb84be3b>:0

  • Like 1

Share this comment


Link to comment

I cant use the updated version so im using the version with the bugged floor tiles

all i did is try to update to that version and i get these errors, reverting the version fixes the errors (but the updates would be very beneficial):


When loading the plugin this error:

Failed to call hook 'OnServerInitialized' on plugin 'BuildingSkins v1.0.9' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.BuildingSkins.OnServerInitialized () [0x0009f] in <3873f094c4134891901db5f8c7cdb585>:0

at Oxide.Plugins.BuildingSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00100] in <3873f094c4134891901db5f8c7cdb585>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0


When trying to upgrade something this is the error:

Failed to call hook 'OnStructureUpgrade' on plugin 'BuildingSkins v1.0.9' (KeyNotFoundException: The given key was not present in the dictionary.)

at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0

at Oxide.Plugins.BuildingSkins.OnStructureUpgrade (BuildingBlock block, BasePlayer player, BuildingGrade+Enum grade) [0x0005a] in <3873f094c4134891901db5f8c7cdb585>:0

at Oxide.Plugins.BuildingSkins.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0014c] in <3873f094c4134891901db5f8c7cdb585>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.