UnauthorizedAccessException at UpdateEnvironmentSyncNot An Issue
my hosting does not allow using this method

Failed to call hook 'NightVisionCommand' on plugin 'NightVision v1.3.1' (UnauthorizedAccessException: System access is restricted, you are not allowed to use System.Reflection.MethodInfo)
  at Oxide.Plugins.NightVision.UpdateEnvironmentSync (BasePlayer player) [0x00000] in <245fc1b299d74dac94fdec713b87d076>:0
at Oxide.Plugins.NightVision.NightVisionCommand (BasePlayer player) [0x000e3] in <245fc1b299d74dac94fdec713b87d076>:0
at Oxide.Plugins.NightVision.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0023e] in <245fc1b299d74dac94fdec713b87d076>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
That's actually a umod thing I think, under security in the general API documentation System.Reflection is listed as a resricted namespace. So you're not allowed to use System.Reflection.MethodInfo by umod.

Wouldn't be able to tell you exactly what it's being used for, but doesn't seem like it's being used for the core functionality
In response to Misstake ():
That's actually a umod thing I think, under security in the general API documentation System.Reflect...
It actually isn't yet, but will be. The host that the OP is using is running a custom build with reflection blocked. There only way around it right now is to update this plugin to remove reflection or switch hosts.
In response to Wulf ():
It actually isn't yet, but will be. The host that the OP is using is running a custom build with ref...
Ah yeah, I was confused as to why it wasn't happening on my server at all. But just assumed it was a once in a time thing
Locked automatically