Plugin call "is not a function"

Issue Description:
Attempting to call one of my methods is resulting in an “X is not a function” error.

Can you reproduce it (exact steps to reproduce):
With the follow method signature:

public static void ExtractAllTo(string appName, int appId, string zip, string outputFolder, Action<object> callback)

(There is also an overload of this method replacing “string zip” with “byte zip”.)

A call to the plugin with the following results in the error:

this.zipperPlugin.ExtractAllTo(PluginGlobals.APP_NAME, PluginGlobals.APP_ID, zip, outputFolder, r => {})

Impact for my app:
Non-functional without fix

Do you currently have a workaround?
No

Please reproduce and attach a zip package of your OW client logs
Visible between 22:45 - 22:46

Log
OverwolfLogs_2020-12-16_22-46-57.zip (351.3 KB)

DLL
plugin.zip (9.0 KB)

Try to remove the static keyword

1 Like

That solved it, thanks!