Jump to content

Console NRE errors

Pending 1.3.6

Rynki
Rynki

Posted (edited)

I seem to be getting a lot of
 

NullReferenceException 

errors flooding the console.

Stops it I unload the plugin, and starts about 30 seconds after starting it.

Edited by Rynki
tidying formatting
  • Administrator
Steenamaroo

Posted

Hi,
Which version are you on?

Do you have your server logging to file?
If so could you check it, please? It usually logs more detail.

Rynki

Posted

1.3.6
Not sure about the logging, will check

Rynki

Posted

Okay, I enabled logging and restarted the server and now I am getting no errors!

Not sure if that is a win or annoying! I'll check the logs in the morning.

 

  • Administrator
Steenamaroo

Posted

Alright, thank you. 👍

Rynki

Posted

The issues started again shortly after restart.

This is the line repeating in the log file.

NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at Oxide.Plugins.BotReSpawn+BotData+CustomSeekerTarget.CenterPoint () [0x0000a] in <4d6254e63ac44f72b4b42ed8fabc0bf1>:0 
  at SeekerTarget.TryGetPosition (UnityEngine.Vector3& result) [0x0001a] in <39b66ab153744838989f4dc1f4da0fcc>:0 
  at SeekerTarget.GetBestForPoint (UnityEngine.Vector3 from, UnityEngine.Vector3 forward, System.Single maxCone, System.Single maxDist, SeekerTarget+SeekerStrength minStrength) [0x0004c] in <39b66ab153744838989f4dc1f4da0fcc>:0 
  at LockOnLauncher.UpdateLockedEntity () [0x00091] in <39b66ab153744838989f4dc1f4da0fcc>:0 
  at InvokeHandlerBase`1[T].DoTick () [0x00138] in <85640ee0e62a41e4aa7221b1ec7bb5f1>:0 
  at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <85640ee0e62a41e4aa7221b1ec7bb5f1>:0 

 

  • Administrator
Steenamaroo

Posted

That's great. Thanks for taking the time.

I'll patch that very soon, along with another issue I've identified, and update either today or tomorrow.

In the short term, the issue is coming from homing missiles so a short term fix would be to remove those from BotReSpawn npc's kits.

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.