My Grasshopper died - Type initializer threw an exception

Hi McNeel and anyone else reading :slight_smile:

Something has messed up my Rhino installation - still not quite sure what. I’ve had a few plugins coming and going, but the result is the attached error:


Whatever the reason, it has messed with what runtime I was running (it was changed from NETframework to NETcore without my intervention) and now my Grasshopper won’t run.
So far I’ve tried to repair my Rhino install and also resetting Rhino to factory defaults, both to no avail. Does anyone have other ideas, or is my next step to try and completely remove Rhino and start over?
TIA, Jakob

I have similar problem after switching to NETCore yesterday (for MCP).

Grasshopper will load, but with series of errors.

Hi @Piotr
Good to hear that I’m not alone. The MCP plugin (and Claude) was on my list of suspects! Had it briefly installed just to test, but ran a bunch of other plugins in the same “session”, so really hard to pinpoint where things went awry.
Thanks for chiming in! :slight_smile:
-Jakob

Oh, and if you run SetDotNetRuntime you can change the runtime back to NETframework, which at least got all my Python scripts running again. I must admit, that I’m in waaaaaay over my head here. I have no idea what most of these settings actually mean, so shooting in the dark :grimacing:
-Jakob

It seems like we can’t have both at the same time. Let’s see how tech responds.

OK, I feel dumber and dumber. Why is it that I can’t run any of my Python scripts using RunPythonScript or RunScript, but if some of them will run them directly via ScriptEditor? Previously I’ve never had problems with both having GH run and being able to launch older Python scripts in the same session. Something has really been botched :exploding_head:

-Jakob

There was a hotfix sent out yesterday, make sure you are on 8.36.26281.13001 or above.

Hi @Japhy
I’m on 8.36.26279.7001 and don’t have access to anything newer than that :slight_smile:


-Jakob

Ah, just saw the thread where @wim mentions https://mcneel.myjetbrains.com/youtrack/issue/RH-99401
Weekend is coming, so I’ll look into it on Monday :slight_smile:
Thanks!
-Jakob

hmm, the hotfix should trigger an update. Sending privately.

Hi @Japhy
I’m on my way out, but initial findings after installing latest update is that I have no script editors, both EditPythonScript and EditScript gives me nothing but a short blink - no, wait, actually the ScriptEditor command did bring up the window on the second try. And still not able to run both GH and scripts made on NETFramework in the same session. I have to manually switch and restart Rhino to “get to the other side”. Sysinfo below:

System Info

Rhino 8 SR36 2026-10-8 (Rhino 8, 8.36.26281.13001, Git hash:master @ f484a6bf651f1e6f65bb944faf16e7fdb4b0a3b3)
License type: Commercial, build 2026-10-08
License details: Cloud Zoo

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 95GB)
.NET Framework 4.8.9345.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA Quadro RTX 4000 (NVidia) Memory: 8GB, Driver date: 9-16-2026 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 597.16
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

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: 9-16-2026
Driver Version: 32.0.15.9716
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino
C:\ProgramData\McNeel\Rhinoceros\8.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino8.rhp “Datasmith Exporter” 5.6.1.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoScriptEditor.rhp “RhinoScriptEditor” 8.0.23161.1000
C:\Users\jn\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\PanelingTools\2024.8.20.677\PanelingTools.rhp “PanelingTools”
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.36.26281.13001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”

Best regards, Jakob

Thanks for the report, will need to see if anyone else has these issues. The original reporter did report back with a successful fix. Maybe repair Rhino?

Can I have it too, please?