I tried to migrate the “rhino inside unity” template from rhino 7 to rhino 8. The rhino8 can be opened now but there are still some issues because some plugins of rhino are not loaded properly as the images below showing. Besides, some commands are not recognized by rhino either.
Does Rhino 8 start properly by itself? If so then please run _SystemInfo
in Rhino 8 and post the result here.
Yes, Rhino 8 itself can be launched.
Rhino 8 SR6 2024-4-10 (Rhino 8, 8.6.24101.05001, Git hash:master @ 32c244aa711e0034e75bec2e87d093c764820b96)
License type: Commercial, build 2024-04-10
License details: Stand-Alone
Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 16GB)
.NET Framework 4.8.9232.0
Computer platform: LAPTOP - Plugged in [99% battery remaining]
Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 5-31-2022 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce GTX 1660 Ti (NVidia) Memory: 6GB, Driver date: 9-12-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 537.42
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port
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: 9-12-2023
Driver Version: 31.0.15.3742
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
C:\Users\77950\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\XR.Rhino.Plugin (468a328b-20d9-494b-b9e1-cbe9f827d3a2)\2024.1.100.0\XR.Rhino.Plugin.rhp “XR.Rhino.Plugin” 2024.1.100.0
C:\Users\77950\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Karamba3D\2.2.0.180\Karamba3D_LicensePlugin_Rhino7.rhp “Karamba3DLicense”
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.6.24101.5001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.6.24101.5001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”
I can draw polyline but I can’t draw a point.
I assume you used one of the samples from here: rhino.inside/Unity at master · mcneel/rhino.inside · GitHub ?
Yes.
Which one?
Hi @nathanletwory.
Thank you for your reply!
Actually, I made some changes based on this repository: jhorikawa/GrasshopperPlayerWithRhinoInsideUnityTemplate (github.com)
Here is my unity project:
RhinoInsideUnity-Rhino8.zip (1.8 MB)
I don’t have Unity here, but did you make sure RhinoCommon.dll inside Assets/RhinoInside
is the correct version? You probably should just copy it from your installed Rhino 8 version.
Yes, I cpoied the RhinoCommon.dll from the installation folder to Unity project.
Rhino 7 only needs RhinoCommon.dll, but Rhino 8 needs many other dlls.
I assume this is because of the .NET 7 and .NET Framework thing, but “SetDotNetRuntime” doesn’t work.
You can give /netfx
as startup option.
Yes, I’ve previously attempted this, but it didn’t help. I notice the issues with loading plugins are all about rendering. Do you have any idea on that?
I don’t have any ideas here, but maybe @fraguada knows more here as he worked on the sample code.