Grasshoper Error when open rhino 6

Hi @cokerone1214,

I’ve found the problem: when Rhino is loading a plug-in because some panels where opened when Rhino was closed, there is no document yet in Rhino, as this is happening very early in the load process. This is new in Rhino 6, because in Rhino 5, the same is happening after the first document is created.

As VisualARQ needs Grasshopper, VisualARQ is loading Grasshopper when it is loaded, and Grasshopper is also loading all registered add-ons. Well, some of theses add-ons are trying to access the active document without checking if there is an active document, so they fail to load.

Although this is not technically a VisualARQ bug (now I know how to reproduce this crash without VisualARQ, just changing a key in registry to make Grasshopper to load auto-start is enough), the issue happens only if you have VisualARQ, so it is a VisualARQ issue, and we must do something to fix it.

I hope I can find an easy solution and release a fixed version today. I’ll keep you posted!

Regards,

Enric