Vray Grasshopper component will not load


I’m getting this error message in the command line:An error occured during GHA assembly loading:
Path: C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V7\VRayForGrasshopper.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘VRaySDK.Net, Version=, Culture=neutral, PublicKeyToken=1dd62a013ecd08af’ or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Exception System.IO.FileLoadException:
Message: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Anyone been experiencing this/know about a possible solution?

Best regards

Hello again
After trying a lot of things, i found a solution that seems slightly weird.
I started rhino in safe mode, loaded grasshopper, Rhino crashed. After this it works.

Aaaanyways, it would be interesting to find out what actually happened.


Hmm, the trick only worked once for some reason…

In case anyone else runs into this, GrasshopperDeveloperSettings, and turning off “memory load using COFF byte arrays” seems to solve the case. I have no idea what that means, but do not experience any unwanted side effects so far at least.

Thanks for an interesting discussion!

Ideally the memory loading would never be used. It solves a few very particular and exotic problems, but unless you happen to run into those, memory loading is a bad idea.

The long form explanation is that a plugin can be loaded directly from the disk, or the file can first be copied into memory as a byte array and then loaded from there. When loaded from the disk, the plugin has a known origin point, meaning any other dlls or files it depends on can be found as they will be situated next to or nearby the plugin file. If however the plugin is loaded form memory, it does not have a point of origin.

Thanks for explaining this David.
I will leave it off then, it seems like every thing else is working nicely.