Grasshopper plugins error after first use of the script editor

Hello @eirannejad, I hope you can help me with the problem below.
Yesterday, I did some things for the first time with the new Rhino 8 scrip editor, prompting me to install a couple of things. Today, I discovered that many of my usual Grasshopper plugins can not run, and after a few minutes, Rhino crashes without any report.

Below, I am posting the details of the errors, Also my system info.

Many thanks in advance.

Command: Grasshopper
An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\chromodoris.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\chromodoris.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\DecodingSpaces.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\DecodingSpaces.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\octatreevoxelisation_0.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\octatreevoxelisation_0.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\Pufferfish3-0.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\Pufferfish3-0.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\SectionBoxGH.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\SectionBoxGH.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\sunglasses.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\sunglasses.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\telepathy.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\telepathy.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\Wallacei_7WIP.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\Wallacei_7WIP.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.

An error occured during GHA assembly loading:
Path: C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\MetaCityGenerator_v.1.0.1\MetaCityGenerator.gha
Exception System.IO.FileLoadException:
Message: Could not load file or assembly ‘file:///C:\Users\chriscaceres\AppData\Roaming\Grasshopper\Libraries\MetaCityGenerator_v.1.0.1\MetaCityGenerator.gha’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)

Exception System.NotSupportedException:
Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element | Microsoft Learn for more information.


Rhino 8 SR18 2025-4-8 (Rhino 8, 8.18.25098.11001, Git hash:master @ 470807fca55aa69632c599bd41a760b69581d726)
License type: Commercial, build 2025-04-08
License details: LAN Zoo Network Node

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 128GB)
.NET Framework 4.8.9300.0

Computer platform: DESKTOP (Hosting Remote Desktop session)

Standard graphics configuration.
Primary display: Microsoft Remote Display Adapter (Microsoft) Memory: 0MB, Driver date: 6-21-2006 (M-D-Y).
> Remote Desktop display device with 16 connection(s)
- Windows Main Display using connection 0
Primary OpenGL: NVIDIA GeForce RTX 3080 (NVidia) Memory: 10GB, Driver date: 12-3-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 566.36
> Accelerated graphics device with 0 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 12-3-2024
Driver Version: 32.0.15.6636
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 10 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Enscape\Enscape.Rhino.Plugin-net48\Enscape.Rhino8.Plugin.dll “Enscape.Rhino8.Plugin” 4.2.1.88
C:\Users\chriscaceres\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Bullant\23.10.24.0\bullant.rhp “bullant” 23.10.24.0
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 5.3.2.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.18.25098.11001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Try resetting the python 3 runtime and relaunch rhino and grasshopper. Do not run ScriptEditor. Test if grasshopper plugins start to load again

@eirannejad, thank you for replying. I forgot to mention that I found that solution on the forums, and unfortunately, it did not work in my case. I could probably find a way to remove some of those plugins, but the main problem is that Rhino and Grasshopper are unusable because they keep crashing unexpectedly.

@Chris_C This seems to be the problem. Seems like all you grasshopper plugins are placed on a network location and dotnet core by default does not allow loading dlls from network paths

Message: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See Element | Microsoft Learn for more information

image

Adding the above to Rhino.exe.config did the trick! Many thanks for your help @eirannejad

1 Like

Uh perfect! Thanks for posting this