Hi,
that is related to the change to .Net7.0. Marshal.GetActiveObject() is not working any more. You can change your Runtime inside Rhino by following these steps: https://forum.evolvelab.io/t/rhino-8-veras-workaround/4992
But this will mean that Plug-Ins written for .Net7.0 might not work instead.
Greetings