Access to Rhino Plugin from Unity

I am trying to access my plugin from a unity script. Unity successfully launches Rhino, and I can also successfully launch the plugin with the command Rhino.RhinoApp.Runscript(“MyPlugin”). But when I try to get the Instance in Unity, it is null. I have also tried:

Rhino.PlugIns.PlugIn newPlugin = Rhino.PlugIns.PlugIn.Find(“MyPluginGuid”);

But this returns null.

Any ideas?

edit: I should mention I am doing this in rhino 7, but I could switch to 8 if that were an issue. Also, I am using the “Rhino.Inside” method to attempt this.