NRE on server start-upFixed

Hello there,

I am getting the following NRE on server start up:

Enforcing SpawnPopulation Limits
traincars.population (ConvarControlledSpawnPopulationRail) has 51 objects, but max allowed is 50
 - deleting 1 objects
        done.
Initializing 104031 entity links
        done.
Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.Inbound.SendInboundMessage (System.String message, System.Boolean alert) [0x000ca] in <ed7bb872e0fd4f1cbf037e5cac42da92>:0
  at Oxide.Plugins.Inbound+<>c__DisplayClass36_0.<OnSupplyDropDropped>b__0 () [0x000ed] in <ed7bb872e0fd4f1cbf037e5cac42da92>:0
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <b974d7a025404888bcdd55b51f29c440>:0
Initializing 1509 stability supports
        done.
Initializing 678 conditional models
        done.
Initializing 101622 entity save caches
        done.
Gamemode Convar :
No Gamemode.​

I still get Inbound notifications so not sure if it's affecting anything?

I know I'm a bit late on this, but the message is just there because of how it functions.

Basically these NextTick callbacks are for use later, when an event is actually occurring, but they're also called when the plugin loads and since there's no event for the NextTick callback to hook to it throws the NRE.

 

You can ignore them provided you're: A.  Restarting or launching the server, or B. reloading or loading the plugin.

 

The author (or anyone else for that matter) could include a startup detection arg to prevent these from showing, but honestly it doesn't matter.  Unity and Rust overall throw tons of errors during startup.  lol

Locked automatically