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
Message: Could not load file or assembly ‘VRaySDK.Net, Version=220.127.116.11, Culture=neutral, PublicKeyToken=1dd62a013ecd08af’ or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Message: A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Anyone been experiencing this/know about a possible solution?
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.
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.