Hi everyone,
I’m encountering a TypeLoadException error every time I launch Grasshopper. This started happening after I recently uninstalled several plugins and removed some User Objects.
The Error Message:
Priority: Loader Could not load type ‘System.Runtime.CompilerServices.NullableContextAttribute’ from assembly ‘System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. {TypeLoadException}
What I’ve tried so far:
-
GrasshopperLoadOneByOne: I ran this command and stepped through every plugin. Interestingly, I was able to pass through all of them without the error appearing during the “one-by-one” process, yet the message still pops up during a standard load.
-
Context: The splash screen often stops or shows the error around the time it hits
WeightsToMeshColor (Ka2). However, once Grasshopper actually opens, that component seems to function correctly.
It feels like a .NET version mismatch or a residual file from a deleted plugin is still being called. Has anyone seen this specific NullableContextAttribute error before, or have advice on how to track down which specific assembly is requesting System.Runtime v7.0.0.0?
System Info:
-
Rhino Version: 8.28
-
Grasshopper Build: 1.0.0008
Thanks in advance for any help!
Rhino 8 SR28 2026-2-10 (Rhino 8, 8.28.26041.11001, Git hash:master @ b7874a05a6982d0419fcc4f6009b510b48a09cb3)
License type: Commercial, build 2026-02-10
License details: Cloud Zoo
Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 64GB)
.NET 7.0.0
Computer platform: LAPTOP - Plugged in [98% battery remaining]
Non-hybrid graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3080 Ti Laptop GPU (NVidia) Memory: 16GB, Driver date: 11-6-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 566.14
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop's integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3080 Ti Laptop GPU (NVidia) Memory: 16GB, Driver date: 11-6-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 566.14
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop's integrated screen or built-in port
Secondary graphics devices.
Intel(R) Iris(R) Xe Graphics (Intel) Memory: 1GB, Driver date: 1-27-2022 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- There are no monitors attached to this device. Laptop lid is probably closed
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: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 11-6-2024
Driver Version: 32.0.15.6614
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 16 GB
Rhino plugins that do not ship with Rhino
C:\ProgramData\McNeel\Rhinoceros\packages\8.0\LadybugTools\1.38.234\Ladybug.RH.Loader.rhp "Ladybug.RH.Loader" 1.38.234.0
C:\ProgramData\McNeel\Rhinoceros\packages\8.0\Pollination\1.52.20\Pollination.RH.Loader.rhp "Pollination.RH.Loader" 1.52.20.0
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp "Commands" 8.28.26041.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.28.26041.11001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp "RDK_EtoUI" 8.28.26041.11001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp "Snapshots"
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp "MeshCommands" 8.28.26041.11001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp "IronPython" 8.28.26041.11001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp "RhinoCycles" 8.28.26041.11001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp "Grasshopper" 8.28.26041.11001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp "Toolbars" 8.28.26041.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"
