NullReferenceException at OnServerInitializedFixed

Hello, I have this error on plugin start after a server start (Rust) :

09:04 [Error] Failed to run a 5.00 timer in 'ClearNight v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.ClearNight.<OnServerInitialized>m__0 () [0x000c6] in <d3391d002c4c4e33814559456d7eb2c6>:0
  at Oxide.Core.Libraries.Timer+TimerIns

Same error after an oxide.reload

Could you post a list of plugins you have installed? You can use the code tags on here or pastebin.com

You can also try and load only ClearNight with the following commands:

oxide.unload *
oxide.load ClearNight
env.time 0

I cant on my prod server, wipe day, but I test with the same plugin on my test server, no error. The test server is a pure copy of the prod

The difference is my prod server is on debian, and my test server on windows.

Merged post

Sorry....

I saw the problem, not updated NightVision, fine now

Awesome, thanks for the update.
Sorry, I tried to start with a procedural map's and it's working. The problem comes from my custom map.
Is it a custom map you created yourself or one you downloaded? I'm not too knowledgeable on rust custom maps but my guess would be that the map is missing the EnvSync entity that the plugin uses.
It's a map that someone made for me, I sent a message to him, waiting for an answer :)
Locked automatically