NullReferenceException at SpawnController.SpawnZombiesFixed
(16:16:17) | NightZombies was compiled successfully in 1812ms
(16:16:17) | Unloaded plugin Night Zombies v3.0.2 by 0x89A
(16:16:18) | Loaded plugin Night Zombies v3.0.3 by 0x89A
(16:16:18) | NullReferenceException: Object reference not set to an instance of an object
(16:16:19) | NullReferenceException: Object reference not set to an instance of an object
(16:16:20) | NullReferenceException: Object reference not set to an instance of an object
(16:16:21) | NullReferenceException: Object reference not set to an instance of an object
(16:16:22) | NullReferenceException: Object reference not set to an instance of an object
(16:16:23) | NullReferenceException: Object reference not set to an instance of an object
(16:16:23) | NullReferenceException: Object reference not set to an instance of an object
(16:16:24) | NullReferenceException: Object reference not set to an instance of an object
(16:16:25) | NullReferenceException: Object reference not set to an instance of an object
(16:16:26) | NullReferenceException: Object reference not set to an instance of an object
(16:16:27) | NullReferenceException: Object reference not set to an instance of an object
(16:16:28) | NullReferenceException: Object reference not set to an instance of an object
(16:16:29) | NullReferenceException: Object reference not set to an instance of an object
(16:16:29) | NullReferenceException: Object reference not set to an instance of an object

Oups ?

Similar issue here

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <092962b6891a42a1bc8be16479222fc8>:0 
  at Oxide.Plugins.NightZombies+SpawnController+c__Iterator0.MoveNext () [0x000c5] in <092962b6891a42a1bc8be16479222fc8>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0 
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Oxide.Plugins.SpawnController:TimeTick()
TOD_Time:AddHours(Single, Boolean)
TOD_Time:AddSeconds(Single, Boolean)
TOD_Time:Update()
(Filename: <092962b6891a42a1bc8be16479222fc8> Line: 0)
[Scientist Names] 1736895 renamed to murderer S. Russell 
[Scientist Names] 8398825 renamed to murderer E. Ramos 
[Scientist Names] 8257140 renamed to murderer C. McCormick 
This line starts repeating when they start spawning at 20:00.
NullReferenceException: Object reference not set to an instance of an object

Could you send me a copy of your server logs?

Hi same error with the last update :

(13:20:32) | Loaded plugin Night Zombies v3.0.4 by 0x89A

(13:20:32) | NullReferenceException: Object reference not set to an instance of an object

(13:20:33) | NullReferenceException: Object reference not set to an instance of an object

(13:20:33) | NullReferenceException: Object reference not set to an instance of an object

(13:20:34) | NullReferenceException: Object reference not set to an instance of an object

(13:20:35) | NullReferenceException: Object reference not set to an instance of an object

(13:20:36) | NullReferenceException: Object reference not set to an instance of an object

(13:20:37) | NullReferenceException: Object reference not set to an instance of an object

(13:20:38) | NullReferenceException: Object reference not set to an instance of an object

(13:20:39) | NullReferenceException: Object reference not set to an instance of an object

(13:20:39) | NullReferenceException: Object reference not set to an instance of an object

(13:20:40) | NullReferenceException: Object reference not set to an instance of an object

(13:20:41) | NullReferenceException: Object reference not set to an instance of an object



Merged post

Server Logs :

Loaded plugin Night Zombies v3.0.0 by 0x89A
Unloaded plugin Night Zombies v3.0.0 by 0x89A
NightZombies was compiled successfully in 1812ms
Loaded plugin Night Zombies v3.0.4 by 0x89A
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <bfcbab36320041da8a98f1a84aaeb121>:0
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <bfcbab36320041da8a98f1a84aaeb121>:0

This should be fixed in the latest update, thank you for being patient.

Great job :)

(13:40:14) | Unloaded plugin Night Zombies v3.0.4 by 0x89A

(13:40:14) | Loaded plugin Night Zombies v3.0.5 by 0x89A

No error for the moment :)

thanks @0x89A

Awesome let me know if it happens again.

YwldsKqyYc3Kx42.jpg DanBosS

Great job :)

(13:40:14) | Unloaded plugin Night Zombies v3.0.4 by 0x89A

(13:40:14) | Loaded plugin Night Zombies v3.0.5 by 0x89A

No error for the moment :)

thanks @0x89A

Hmm... Still having the same issue even after version 3.0.5

(Filename:  Line: 0)
[Scientist Names] 6954990 renamed to scare X. Gardner 
[Scientist Names] 1279161 renamed to murderer S. Hughes 
InvalidCastException: Specified cast is not valid.
  at Oxide.Plugins.NightZombies+SpawnController.Broadcast (System.String key, System.Object[] values) [0x00091] in :0 
  at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00113] in :0 
  at Oxide.Plugins.NightZombies+SpawnController+c__Iterator0.MoveNext () [0x000c5] in :0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0 
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Oxide.Plugins.SpawnController:TimeTick()
TOD_Time:AddHours(Single, Boolean)
TOD_Time:AddSeconds(Single, Boolean)
TOD_Time:Update()

That is a different issue, try deleting your lang file for this plugin and reloading.

Jimbozinya

Hmm... Still having the same issue even after version 3.0.5

(Filename:  Line: 0)
[Scientist Names] 6954990 renamed to scare X. Gardner 
[Scientist Names] 1279161 renamed to murderer S. Hughes 
InvalidCastException: Specified cast is not valid.
  at Oxide.Plugins.NightZombies+SpawnController.Broadcast (System.String key, System.Object[] values) [0x00091] in :0 
  at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00113] in :0 
  at Oxide.Plugins.NightZombies+SpawnController+c__Iterator0.MoveNext () [0x000c5] in :0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0 
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Oxide.Plugins.SpawnController:TimeTick()
TOD_Time:AddHours(Single, Boolean)
TOD_Time:AddSeconds(Single, Boolean)
TOD_Time:Update()
3avCealyDkvngOv.png 0x89A

That is a different issue, try deleting your lang file for this plugin and reloading.

Ah ok, sorry! Will try that, thank you

I am running Night Zombies 3.0.4, because starting with 3.0.5, the zombie kills aren't being reported, so the Death Notes don't show the kills and the rewards for Econmics don't work. 

Anyway, to the issue for this post. I am frequently getting this error in my server log:

NullReferenceException: Object reference not set to an instance of an object
at Oxide.Plugins.NightZombies+SpawnController.SpawnZombies () [0x00072] in <cbcf8cc229ba467a97c3f256dffdbbca>:0
at Oxide.Plugins.NightZombies+SpawnController+<RemoveZombies>c__Iterator0.MoveNext () [0x000c5] in <cbcf8cc229ba467a97c3f256dffdbbca>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <c8dc2b468d1841099baa4dd8a110cc44>:0
UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Oxide.Plugins.SpawnController:TimeTick()
TOD_Time:AddHours(Single, Boolean)
TOD_Time:AddSeconds(Single, Boolean)
TOD_Time:Update()

(Filename: <cbcf8cc229ba467a97c3f256dffdbbca> Line: 0)​

 

When this happens, my console is being spammed every 1 or 2 seconds. Does this happen with the latest version of Night Zombies and if not, can we get Night Zombies fixed so the killing of them is reported correctly to the server? I believe this is occuring when the zombies are supposed to be destroyed, because I'm seeing zombies 24 hours a day because they aren't being destroyed. 
Locked automatically