Error while compiling PLUGINNAME: Compiler threw a error: InvalidCastException - Specified cast is not valid.Solved

Hi,
On latest oxide and getting this error for every plugin:

Error while compiling PLUGINNAME: Compiler threw a error: InvalidCastException - Specified cast is not valid.

(09:28:10) | Oxide.Rust Version: 2.0.6002

Oxide.Rust Branch: master

(09:28:25) | Protocol: 2405.240.1

Build Date: 09/04/2023 16:02:28

Unity Version: 2021.3.29f1

Changeset: 87004

Branch: experimental/release

Turns out a harmony mod was causing the issue. Not sure which one yet. Removing them allows everything to run again.

Locked automatically