Rem0o/FanControl.HWInfo

v84/v85 FanControl crash

northmatt opened this issue · 4 comments

Full crash on startup, the process lasts for a second before exiting out.

log:

2021-07-01 4:17:04 PM: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Domain.PluginService.<LoadPlugins>d__3.MoveNext()
   at FanControl.Domain.ComputerAccessLayer..ctor(ILogger logger, IPluginService pluginService)
Rem0o commented

What files do you have in the plugin folder?

Tried rebuilding with the latest FanControl.Plugins files. Use to use the one built on Mar 24th.
Both old and new builds gave the same error.

Files in plugin folder:
-FanControl.HWInfo.dll
-FanControl.HWInfo.pdb
-FanControl.Plugins.dll
-FanControl.Plugins.xml

Rem0o commented

Remove everything but FanControl.HWInfo.dll, pretty sure FanControl.Plugins.dll being in there cause the issue as it is already loaded. Will add protection for that.

I was a bit slow in trying your suggestion and didnt try in v85, but did try in v86 and it worked.