terminator-97 / SCPUtils

SCPUtils plugin
Creative Commons Attribution Share Alike 4.0 International
12 stars 10 forks source link

OnSpawn error #20

Closed joker-119 closed 2 years ago

joker-119 commented 3 years ago

It only occurs once per round, right after "Waiting for Players", I'm guessing that it's triggering off the server itself spawning, not sure though.

[2021-07-11 22:59:39.548 +00:00] [ERROR] [Exiled.Events] Method "OnPlayerSpawn" of the class "SCPUtils.EventHandlers" caused an exception when handling the event "Exiled.Events.Events+CustomEventHandler1[[Exiled.Events.EventArgs.SpawningEventArgs, Exiled.Events, Version=2.11.1.0, Culture=neutral, PublicKeyToken=null]]" [2021-07-11 22:59:39.560 +00:00] [ERROR] [Exiled.Events] System.NullReferenceException: Object reference not set to an instance of an object at SCPUtils.EventHandlers.OnPlayerSpawn (Exiled.Events.EventArgs.SpawningEventArgs ev) [0x00006] in <193f843250414754a2842231e61c0843>:0 at Exiled.Events.Extensions.Event.InvokeSafely[T] (Exiled.Events.Events+CustomEventHandler1[TEventArgs] ev, T arg) [0x00024] in :0

show plugins shows correct plugin version:

SCPUtils:

  • Author: Terminator_97#0507
  • Version: 2.7.0
  • Required Exiled Version: 2.8.0
  • Prefix: s_c_p_utils
  • Priority: Medium
terminator-97 commented 3 years ago

i will check it, thanks for the report

Wafelowski commented 3 years ago
[2021-07-19 19:08:21.641 +02:00] [ERROR] [Exiled.Events] Method "OnPlayerDeath" of the class "SCPUtils.EventHandlers" caused an exception when handling the event "Exiled.Events.Events+CustomEventHandler`1[[Exiled.Events.EventArgs.DyingEventArgs, Exiled.Events, Version=2.11.1.0, Culture=neutral, PublicKeyToken=null]]"
[2021-07-19 19:08:21.653 +02:00] [ERROR] [Exiled.Events] System.NullReferenceException: Object reference not set to an instance of an object
  at SCPUtils.EventHandlers.OnPlayerDeath (Exiled.Events.EventArgs.DyingEventArgs ev) [0x0037b] in <193f843250414754a2842231e61c0843>:0 
  at Exiled.Events.Extensions.Event.InvokeSafely[T] (Exiled.Events.Events+CustomEventHandler`1[TEventArgs] ev, T arg) [0x00024] in <eb85128a82174c588a2176a34c5ed92b>:0

Happens when player disconnects.

Nyxlyzers commented 3 years ago

image

Happens when player join.