Custom plugin load time increased


Currently, every time I open Rhino and click one of our custom commands, I have to wait about 30 seconds and sometimes Rhino becomes non-responsive. After the plugin has loaded, the commands execute immediately.
This problem didn’t occur previously.

What are the main factors that can affect plugin load time?

Matthew Orwin

From the top of my head

  • Loading from a network drive
  • Virus scanning software
  • JIT-compilation if you’re using RhinoCommon
  • Loading a Rhino 6 plug-in in Rhino 7

You could run it in a debugger and halt the program once the plug-in is being loaded, or set a breakpoint in the plug-in constructor and keep stepping until you hit a delay.