Rhino 8/grasshopper strange behavior when hiding/showing objects

Hi all, I am wondering if this happens to others before or after the upgrade to Rhino 8:

When I hide or show objects (via commands ‘hide’ or ‘show’ in Rhino) that are set as references in grasshopper, the canvas freezes, and so does Rhino. This happens with any viewport style (wireframe, shaded, rendered, etc.).

I’m working in a file I’ve had for a while. All things normal - however after the Rhino 8 upgrade from the beta I’ve had the issue I mention above. Sometimes the software won’t respond again and I have to quit it and start over.

Again: this happens when I hide and/or show the referenced objects in Rhino while the grasshopper file is running - however never deleting the objects, which would obviously affect/freeze the entire algorithm.

Any clues?

Do I have to go through the painful process of finding a possible ‘culprit’ within grasshopper? The only errors I have always had present in the file are some failed curve offsets and some ‘degenerate’ (for whatever reason) extrusion - nothing wrong with the extrusions but GH still warns of that.

Thank you!

Hi Rene,

Can you run SystemInfo in your Rhino command line and post the results?

One way to quickly test if it is a Grasshopper plugin causing the issue would be to start Grasshopper from Rhino with the GrasshopperLoadOneByOne and say no to all (especially the obscure or outdated ones)

Thanks

Thank you @Japhy,

I don’t have many plugins in use but not sure I can do that? That means disabling ALL plugins, including ‘basic’ ones like MeshEdit, or Kangaroo 2 - at that point many things wouldn’t be working in the script…how would it be helpful?

What exactly should I do there? Say no to all the plugins then run the script anyway?

Here’s the result from the SystemInfo command:

Rhino 8 SR1 2023-11-21 (Rhino 8, 8.1.23325.13001, Git hash:master @ 8a4a437248efac5d9cb04d3904481b83e4c23a64)
License type: Educational, build 2023-11-21
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 1.3e+02Gb)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA Quadro RTX 5000 (NVidia) Memory: 15GB, Driver date: 11-9-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 546.17
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0

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

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

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 11-9-2023
Driver Version: 31.0.15.4617
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 15 GB

Rhino plugins that do not ship with Rhino
C:\Users\MONSTRUA\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\RPC\0.0.11-beta\RPC.rhp “RPC”

Rhino plugins that ship with Rhino
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\Commands.rhp “Commands” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\WebBrowser.rhp “WebBrowser”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\rdk.rhp “Renderer Development Kit”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\RhinoScript.rhp “RhinoScript”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\Displacement.rhp “Displacement”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL\Rhinoceros 8\Plug-ins\SectionTools.rhp “SectionTools”

Ok I did run the ‘load one by one’ command and said no to all, and it says I have 185 ‘unknown’ objects, most of which come from the ‘plug-in’ grasshopper:

This is sad - how do I tell the grasshopper file to bring itself up to date so it works properly? I don’t get the option to ‘upgrade components’ for whatever is ‘old’.

Do I have to ‘manually’ replace these place-holders (note how many below) with their ‘new’ version of themselves?

All things seem fine except the performance of the algorithm has been severely affected after the upgrade - prior to that I was working the same script in the WIP then BETA releases.

*Here’s some more material - I’ve duplicated the script and deleted almost everything to try to isolate the case from the start with the referenced shapes I occasionally hide.

Notice the little ~1 second lag when I hide the objects in Rhino. Not a big deal - just new/strange for a machine this capable. The preview goes blank then already-previously-previewed objects are previewed again (however I never “unpreviewed” them in grasshopper). This wasn’t happening before:

Then, if I hide the objects in Rhino, then undo that (Ctrl+Z) so they come back, the Grasshopper window glitches for a second with a white ‘vignette’ around it until I click it:

This second video is pretty much what I’m dealing with - you can see when the white vignette appears, the grasshopper wires turn ‘orange’. It quickly goes away because it’s only a few components, however when the actual algorithm is present, hiding the objects in Rhino causes the entire script to become ‘orange’, freezing the program.

Sincere thanks for your attention.

hi @René_Corella can you send me (the smallest possible) example file that shows this behavior?

1 Like

Thank you @Gijs I just sent you a message with files and additional information attached.
Best,
RC

UPDATE + CORRECTION:

GH freezes after UNDOING “Hide” command.

@Japhy
@Gijs

I have tried a few things and it seems the issue occurs regardless of the file I am working with.

In summary:
The GH canvas freezes when I undo a ‘hide’ command - it doesn’t matter what the referenced object is. If I use ‘show’ instead of CTRL Z, the freezing doesn’t happen.

However the issue somehow ‘scales up’ ? If I have the full algorithm loaded, simply hiding an object can trigger it, I don’t even have to undo the command.

This issue did not manifest in the WIP/BETA.
It doesn’t happen in R7 either.

Thanks again.

Can you remove the Bubulas Plugin for testing purposes?

as well as this one…

C:\Users\MONSTRUA\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\RPC\0.0.11-beta\RPC.rhp “RPC”

Thanks

1 Like

Thank you @Japhy,

I did a clean reinstall of Rhino 8 and deleted Rhino 7 as well.
Got rid of all plugins.

The issue persists:

  1. Reference geometry from Rhino - set within grasshopper
  2. Hide geometry in Rhino, then undo hide
  3. GH canvas freezes (white vignette around it) until clicked

extra:
I realize the same bug is triggered via Ctrl Z of other things like:
scale the object with gumball, then undo that, GH canvas freezes.
Sometimes if I internalize the object, the issue goes away but if I create another object and reference it, the issue returns.

Repairs are better than a re-install. This is done in Windows by going to the Add or Remove Programs then Modify the Rhino 8 install and select Repair.

Just to make sure all setting are fresh please run the Reset command in Rhino 8.

Then run SystemInfo and post again and an image of your GH canvas as well please. Thanks

Ok thank you.

I now chose the repair option instead of re-installing.

I also used the reset command as advised.

Here’s the first thing I try after that + restarting the computer:

Here’s the sad gh canvas screenshot:

For some reason Rhino does not show up in the Control Panel and it doesn’t show up in the ADD or Remove section for Windows. So I had to double-click the install file for the prompt to repair or modify. I must say I’ve installed Rhino in my additional SSD, not in the usual C:Program Files - does this matter?

Here’s the result from SystemInfo:
Rhino 8 SR1 2023-11-21 (Rhino 8, 8.1.23325.13001, Git hash:master @ 8a4a437248efac5d9cb04d3904481b83e4c23a64)
License type: Educational, build 2023-11-21
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 1.3e+02Gb)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA Quadro RTX 5000 (NVidia) Memory: 15GB, Driver date: 11-9-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 546.17
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: 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-9-2023
Driver Version: 31.0.15.4617
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 15 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\Commands.rhp “Commands” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\rdk.rhp “Renderer Development Kit”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\NamedSnapshots.rhp “Snapshots”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\MeshCommands.rhp “MeshCommands” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.1.23325.13001
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\Displacement.rhp “Displacement”
S:\MONSTRUA\RESOURCES\APPLICATIONS\MCNEEL&ASSOCIATES\Plug-ins\SectionTools.rhp “SectionTools”

I see the freeze in 8.2.23341.13001, but not in 8.3.23342.10001

2 Likes

Intrigued.
I have…
8.1.23325.13001?

Sent you a link

1 Like

@René_Corella When you say it “Freezes” after an UNDO, are you referring to the white border that shows up on the GH canvas (until you click back on the canvas)? If so, that was reported earlier this week (also in this thread) and I believe should now be fixed in the next 8.3 release (which should occur next Tuesday). This might be why @Gijs is not seeing it in 8.3.23342.10001 but is seeing it in 8.2.23341.12001.

3 Likes

Thank you @AndyPayne - yes, this was exactly it! I’m glad that bug has been caught.

Hi there,
I suggest changing the thread title to something like “Grasshopper canvas border turned white after undo”. I suspect more people are looking for this bug using the “white border canvas” keywords. Took me a bit to find this.

So I have the same issue and it’s making Rhino a pain to work with. Simplest example:
Draw a bunch of connected lines inside Rhino. Join them together. Open GH, put a curve battery inside GH. Set the joined polyline as a reference for the curve battery. Back to Rhino, undo the Join command. GH canvas border turns white and the crv battery won’t accept any other crv/polyline/line object as a reference from the Rhino viewport anymore. It does not show an error, but says it is empty when you try to “Set xxx curve(s)”. Fix is to restart Rhino. This is on both Mac and Win, Rhino says I am up to date.

Rhino 8 SR2 2023-12-12 (Rhino 8, 8.2.23346.13002, Git hash:master @ dbefe46c12cda06610a9ab683a211aa3d16f0030)
License type: Educational Lab License, build 2023-12-12
License details: Cloud Zoo

Apple macOS Version 14.2 (Build 23C64) (Physical RAM: 32Gb)
Mac Model Identifier: MacBookPro18,3
Language: en-CH (MacOS default)
.NET 7.0.0

Metal GPU Family Apple 7
Metal GPU Family Common 3
Metal GPU Family Mac 2
Graphics processors
Apple M1 Pro
Color LCD (1512 x 982 @ 120.00Hz)

USB devices
None

Bluetooth devices
None

Third party kernel extensions
com.paragon-software.filesystems.ntfs (314.9.15) F3089708-1B0E-3806-8557-F56039181094

Third party plugins
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswift_Concurrency.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswift_StringProcessing.dylib
/usr/lib/swift/libswift_RegexParser.dylib
/Library/Frameworks/3DconnexionClient.framework/Versions/A/3DconnexionClient
/usr/lib/swift/libswiftCryptoTokenKit.dylib
/usr/lib/usd/libusd_ms.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftCoreML.dylib
/usr/lib/swift/libswiftFileProvider.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftGameplayKit.dylib
/usr/lib/swift/libswiftMetalKit.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/swift/libswiftSpriteKit.dylib
/usr/lib/swift/libswiftVision.dylib
/usr/lib/swift/libswiftRegexBuilder.dylib
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftVideoToolbox.dylib
/usr/lib/swift/libswiftObservation.dylib
/usr/lib/swift/libswiftWebKit.dylib
/usr/lib/swift/libswiftNaturalLanguage.dylib
/usr/lib/swift/libswiftSystem.dylib
/usr/lib/swift/libswiftMapKit.dylib
/usr/lib/log/liblog_network.dylib
/Users/isvoranu/.rhinocode/py39-rh8/libpython3.9.dylib
/Users/isvoranu/.rhinocode/py39-rh8/lib/python3.9/lib-dynload/_heapq.cpython-39-darwin.so

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
/Applications/Rhino 8.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 8.2.23346.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 8.2.23346.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/PlugIns/SectionTools.rhp “SectionTools” 8.2.23346.1002
/Applications/Rhino 8.app/Contents/PlugIns/Displacement.rhp “Displacement” 8.2.23346.1002
/Applications/Rhino 8.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 8.2.23346.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 8.2.23346.13002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCodePlugin.rhp “RhinoCodePlugin” 8.2.23346.13002

1 Like

Hi -

You are up-to-date on service releases. Those generally are published once a month. In between those, however, there are weekly public service release candidates. If you change the update frequency in the Rhino options, you’ll be able to get a 8.3 release.
-wim

1 Like

Thanks Wim, I can confirm basic issue I described is fixed on both Mac and Win with the candidate release. Haven’t tried more complex object referencing issues.

2 Likes