1. after the update and its messing with lots of my sole plugins on my server dont no if this a rust issue or A rust issue
     
  2. apon shooting a scientist NPC From the bots plugin it kicks me with the above msg anybody have any clues as to why this is, or how to fix it?
     
  3. same issue tried removing all players saves also map , next step cmd reinstall complete, but i think a plugin is causing issue with scientist i increased scientists they spawn fine , can , i do have death notes and info panel so will try disabling them . ps just a local file for me friends to play and test on
    [DOUBLEPOST=1517651256][/DOUBLEPOST]my server . log file on error
    Code:
    [Death Notes] lexie was shot in the Stomach by FREAK_SQUAD with a LR-300 Assault Rifle from 35.86m.(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)NullReferenceException: Object reference not set to an instance of an object
      at Scientist.CreateCorpse () [0x00000] in <filename unknown>:0 
      at BasePlayer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0 
      at NPCPlayerApex.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 
      at NPCPlayerApex.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BaseCombatEntity.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BasePlayer.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0 
      at BasePlayer.OnProjectileAttack (RPCMessage msg) [0x00000] in <filename unknown>:0 
      at BasePlayer.OnRpcMessage (.BasePlayer player, UInt32 rpc, Network.Message msg) [0x00000] in <filename unknown>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    BasePlayer:OnRpcMessage(BasePlayer, UInt32, Message)
    BaseEntity:SV_RPCMessage(UInt32, Message)
    ServerMgr:OnRPCMessage(Message)
    ServerMgr:OnNetworkMessage(Message)
    Facepunch.Network.Raknet.Server:ConnectedPacket(Connection)
    Facepunch.Network.Raknet.Server:Cycle()
    ServerMgr:Update()
    [DOUBLEPOST=1517651706][/DOUBLEPOST]death notes and info panel so will try disabling them made no change disabling
    [DOUBLEPOST=1517652034][/DOUBLEPOST]found this on steam forums so will decrease items

    nullreferenceexception: object reference not set to an instance of an object :: Rust General Discussions

    apparently that error is also caused by too many items spawned on modded servers. So them xmass stockings can become crash everyone weapons. :/

    Right opened up scientist population killed first one fine no error killed second same error now
    Object reference not set to an instance of an object

    put other plugins back as not them i have scientists at all warehouses all monuments etc every AI building around 20-25 scientists spawned across map
     
    Last edited by a moderator: Feb 3, 2018
  4. Code:
    NullReferenceException: Object reference not set to an instance of an object
      at Scientist.CreateCorpse () [0x00000] in <filename unknown>:0
      at BasePlayer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0
      at NPCPlayerApex.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at NPCPlayerApex.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.OnProjectileAttack (RPCMessage msg) [0x00000] in <filename unknown>:0
      at BasePlayer.OnRpcMessage (.BasePlayer player, UInt32 rpc, Network.Message msg) [0x00000] in <filename unknown>:0
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    BasePlayer:OnRpcMessage(BasePlayer, UInt32, Message)
    BaseEntity:SV_RPCMessage(UInt32, Message)
    ServerMgr:OnRPCMessage(Message)
    ServerMgr:OnNetworkMessage(Message)
    Facepunch.Network.Raknet.Server:ConnectedPacket(Connection)
    Facepunch.Network.Raknet.Server:Cycle()
    ServerMgr:Update()
    Please been having this for more then 2 months still havent found what causes it
     
    Last edited by a moderator: Mar 2, 2018
  5. Wulf

    Wulf Community Admin

    Are you using any plugins for bots?
     
  6. Hi,
    Does it happen for every bot or once in a while?
    Scientist or murderer?
    BotSpawn or Rust spawned?

    edit: overlapped with you wulf.
     
  7. Was using your bot spawn but thought that was the problem but wasn’t
     
  8. You're getting the error even from Rust default spawned bots?

    Ok - Do you have any plugs that do anything fancy when a player dies?
    Corpse remover, notify player of corpse location...anything like that?
     
  9. Thought it was death notes but removed that so don’t no
    [DOUBLEPOST=1520066139][/DOUBLEPOST]Murderers are fine just scientists
    Sorry for late reply went sailing
     
  10. Its fixed yet Buster_dylan ?
     
  11. To be honest, if it's happening with Rust default bots it's pretty easy to diagnose.
    Uninstall all plugins then introduce them one by one, or in batches of 5-10 if you have loads.

    Might be a little time consuming, but you'll find the culprit.

    As I said, though, the issue occurs on the death of a 'player' and being that you're getting an error it most likely is intended to affect a player; Not a bot.
    With that in mind, I'd start with anything that does anything when a player dies.
    [DOUBLEPOST=1520099512][/DOUBLEPOST]Wait - Do you use LootConfig?

    If so, remove the .cs (don't just unload) and restart the server.
     
  12. Nice cake dude :)
     
  13. wait i do have loot config and deleting it work thank you but now i need a new loot plugin
     
  14. better loot or simple loot is a good alternative
     
  15. simple loot was the problem
     
  16. Seeing this whenever someone kills a NPC:

    Code:
    XXXX left the server (Reason: Kicked: RPC Error in OnProjectileAttack)
    NullReferenceException: Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
    [DOUBLEPOST=1520273514][/DOUBLEPOST]Removed all plugins, still have it
     
  17. RPC Error in AddUI here
     
  18. Wulf

    Wulf Community Admin

    That isn't at all the same error as the first in this thread.
     
  19. That's something that puts something graphical in your screen.

    Something with Oxide?
     
  20. Wulf

    Wulf Community Admin

    Not that I can see.