Grasshopper launching issues with SR16 and SR17

Hello

In my compagny we are using Rhino since Rhino 5 and we update our grasshopper programs each time we upgrade.

We are facing many troubles upgrading with R8, and with any new version, we face new problems.

We can’t figure out what’s going on with the last one : since RS16 version, launching our programs take twice as long as before.

The only clue we have is this : the launching process seems getting stuck here (Loading Csharp 9)

Did someone experience anything like that ?

Some clues that can help :

  • we use (a lot) Telepathy plugin, that make our programs a lot more readable (named variables, less wires, …)
  • we use rhino with NET Framework, because we use Microsoft.Office.Interop.Word that can’t work with NET Core. (we are working on it, but it doesn’t changes a lot the lauching problem)
  • Many of our programs have a human UI interface
  • some of our grasshopper definitions are big. But well organized.

We have 20 engineers working every day with something like 60 differents grasshopper programs al along the process. And we would love to shift to R8 once and for all <3 But we are still stuck, because of this kind of problems.

Hope someone can help

Kind regards

Hi Remy Pere,

Is this only happening when GH is involved?

Lets start troubleshooting by isolating Rhino/GH and then add each in one by one (or start with a larger set and narrow it down from there).

Rhino SystemInfo will be helpful as well. Thanks

Thanks for replying so quickly

Blockquote Is this only happening when GH is involved?

This problem appear when launching a grasshopper definition. All programs take more time to launch (apparently) since RS16.

Blockquote Lets start troubleshooting by isolating Rhino/GH and then add each in one by one (or start with a larger set and narrow it down from there).

I ran some tests with a big one (grasshopper definition), deleting parts by parts. Launching time get smaller progressively while I do so, but I can’t indentify One plugin responsible. (is that what you’re asking for ?)

Here my SystemInfo

Rhino 8 SR17 2025-2-25 (Rhino 8, 8.17.25056.13001, Git hash:master @ 8d674f13b6b22b7c0498dd9ff031d36e49dcd349)
License type: Commercial, version 2025-02-25
License details: Cloud Zoo

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.18

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) Iris(R) Xe Graphics (Intel) Memory: 2GB, Driver date: 10-11-2024 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3060 Laptop GPU (NVidia) Memory: 6GB, Driver date: 8-29-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 556.35
> Integrated accelerated graphics device with 4 adapter port(s)
- Video pass-through to primary display 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: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 8-29-2024
Driver Version: 32.0.15.5635
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp “NavigateurInternet”
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 8\Plug-ins\RhinoBonusTools.rhp “Outils extra pour Rhino”
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “GestionnaireInactivité”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rendu de Rhino” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp “Ancien rendu de Rhino”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.17.25056.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.17.25056.13001
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”
C:\Program Files\Rhino 8\Plug-ins\NamedPositions.rhp “Position nommée”

If think i just found the one…

I deleted the telepathy plugin from my packages.
I get the missing plugin error but the definition launch withing 35 sc (that’s the time it took with RS15)

1 Like

I saw you liked my answer but i don’t really know what it means :wink:
I can’t be sure the problem come from Telepathy, and if that’s it, we are still stuck because we (really) need it.

Can you say if something changed since the last version of Rhino ? And if we can do something about that ?

Thanks

It looks like telepathy was released for Rhino 4 & 5. Did you install via package manager or food4 rhino? The packageManager is 1.0.1 vs the 1.0.0 released in 2017.

https://www.food4rhino.com/en/app/telepathy

We didn’t break the sdk, but there could have been a change in GH behavior that affected it.

I installed the one from PackageManager and the sample off food4Rhino, not seeing any lags in opening in netframework or .netcore

It does load the scripting resources the first time going through grasshopperplayer, but no hangs on the Csharp 9 dialog.

Thanks for replying,

I also tried the two differents ways. Doesn’t change the issue.

The problem doesn’t appear when i open grasshopper. It’s when i launch a program. Like you can see in the video attached.

In fact I can’t be sure if Telepathy is the problem. Maybe if data can’t cross the definition because i deleted the plugin, it doesn’t reach the the problematics compnents…

But when i delete parts of the program the launching time get smaller that’s why I suspected telepathy (becaus we have thousands of Telepathy components in our programs)

I will try something else. deleting all plugins except Telepathy, and see what happens.

Here a screen of one of our big definition. For this one we don’t use ghplayer.

well : when i keep only the telepathy plugin, it take the exact same time as if i keep all of them (2:30 instead of 35s on RS15)

here the entire video

Thanks, that was my next question. So reverting to SR15 does show there was a regression. Was this on the same machine? (uninstalled sr16 or 17, installed 15)

We tried it on different machines.
And the ones on RS15 work well, the one on RS16 or RS17 have the problem.

How can i reverting to RS15

Here a summary of the tests i ran :

  • Machines with RS15 : no problem (35s)
  • Machine with RS16 or 17 : more than 2:30
  • when deleting half of the component, 1:15
  • when i delete telepathy : 35sc after missing plugins messages
  • when i delete all plugins except telepathy : 2:30 after missing plugins messages

Unfortunately with windows you have to uninstall (which isn’t as destructive as a repair to your existing setup) and then install the older version. This is a critical test, with all the other variables there could be something else influencing these times.

Even if we identify the regression its going to be tough to pinpoint with all the plugins, but will be a start.

I’m afraid that can’t have access to RS15 from Rhino - Téléchargements
Could you send me an exe file ?

Even if we identify the regression its going to be tough to pinpoint with all the plugins, but will be a start.

I can imagine, that’s why I asked if someone else experienced this issue. So we could have identified the similarities.

I uninstall RS17 and install RS15 : back to 35sc

Can you post a log from the RS15 and RS17, they are located here %HOMEPATH%\.rhinocode

We did some testing with Telepathy & RhinoScript 8.15 and beyond with no differences. We’ll need a small script that we can repeat with if possible.

Can you post a log from the RS15 and RS17, they are located here %HOMEPATH%\.rhinocode

Hello, I don’t know what it means, i found the logs, do you want i send you one that has been created when i had RS15 and one when i had RS17 ?

Here this type of file is not authorized.

We did some testing with Telepathy & RhinoScript 8.15 and beyond with no differences. We’ll need a small script that we can repeat with if possible.

OK I find you one. But with smaller scripts the problem doesn’t seem obvious.

Please, do you know a way to select all telepathy components of a definition ? (maybe with a c# script?) If I can do so, I can take them all, put them in a blank script, with no other components and si if the problem still appears?

small test.gh (50.3 KB)

no need i found the way. I run a test and i let you know