Rhino 8 Crashes when adding materials

hi. i’m having a problem in rhino 8. it keeps crashing when i add a material to an object. it sometimes works with the default materials. but always crashes when i use a custom material.

Please run the Rhino command _SystemInfo and post the result in a reply.

1 Like

Rhino 8 SR6 2024-4-10 (Rhino 8, 8.6.24101.05002, Git hash:master @ 32c244aa711e0034e75bec2e87d093c764820b96)
License type: Evaluation, build 2024-04-10
License details: Cloud Zoo
Expires on: 4712659-07-24

Apple macOS Version 13.4.1 (Build 22F82) (Physical RAM: 32GB)
Mac Model Identifier: MacBookPro16,2
Language: en-US (MacOS default)
.NET 7.0.0

Metal GPU Family Apple 0
Metal GPU Family Common 3
Metal GPU Family Mac 2
Graphics processors
Intel Iris Plus Graphics (1536 MB)
Color LCD (1440 x 900)

USB devices
Apple Inc.: Touch Bar Backlight
Apple Inc.: Touch Bar Display
Apple Inc.: Apple Internal Keyboard / Trackpad
Apple: Headset
Apple Inc.: Ambient Light Sensor
Apple Inc.: FaceTime HD Camera (Built-in)
Apple Inc.: Apple T2 Controller

Bluetooth devices
None

Third party kernel extensions
None

Third party plugins
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswift_Concurrency.dylib
/usr/lib/swift/libswift_StringProcessing.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswift_RegexParser.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftsimd.dylib
/Library/Frameworks/3DconnexionClient.framework/Versions/A/3DconnexionClient
/usr/lib/usd/libIex.dylib
/usr/lib/usd/libHalf.dylib
/usr/lib/usd/libAlembic.dylib
/usr/lib/usd/libusd_ms.dylib
/usr/lib/usd/libosdCPU.dylib
/usr/lib/usd/libImath.dylib
/usr/lib/usd/libIlmThread.dylib
/usr/lib/usd/libIexMath.dylib
/usr/lib/usd/libtbb.dylib
/usr/lib/usd/libMaterialXCore.dylib
/usr/lib/usd/libMaterialXFormat.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftNetwork.dylib
/usr/lib/swift/libswiftCryptoTokenKit.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftAppKit.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftFileProvider.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftPrivate_BiomePubSub.dylib
/usr/lib/swift/libswiftPrivate_BiomeStreams.dylib
/usr/lib/swift/libswiftExtensionFoundation.dylib
/usr/lib/swift/libswiftCoreML.dylib
/usr/lib/swift/libswiftVision.dylib
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftSystem.dylib
/usr/lib/swift/libswiftExtensionKit.dylib
/usr/lib/swift/libswiftRegexBuilder.dylib
/usr/lib/swift/libswiftWebKit.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftMapKit.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/log/liblog_network.dylib

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.6.24101.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 8.6.24101.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/PlugIns/SectionTools.rhp “SectionTools” 8.6.24101.1002
/Applications/Rhino 8.app/Contents/PlugIns/Displacement.rhp “Displacement” 8.6.24101.1002
/Applications/Rhino 8.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 8.6.24101.1002
/Applications/Rhino 8.app/Contents/PlugIns/SolidTools.rhp “SolidTools” 8.6.24101.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 8.6.24101.5002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCodePlugin.rhp “RhinoCodePlugin” 8.6.24101.5002

Looks fine from what I can see - can you write out the exact steps you make to get to a crash?

1 Like

i select the object i want to add a material to
i click on the materials button, the little paint tube
i click on the + to add a new material
i choose "Create physical based material from texture file’
i go select the material zip file
rhino loads it and applies the material to the object
then a second or two later the program crashes

could it be the material files i’m using? i’m getting them from A23D

Are you able to share such a zip file? If you can’t do that in public you can use Rhino - Upload to Support - I have prefilled my email address (ending in mcneel.com). I will be notified when the upload is completed. I’ll be able to further test and investigate the issue.

1 Like

the file was too big to upload here so i sent it to upload support. thanks, appreciate your time.

Thanks, I’ll try to repeat the problem with the steps and file provided.

@mdunn1 are you able to switch viewports to Raytraced and use the _Render command?

Also, when Rhino crashes do you get crash reporting dialogs? If so please copy&paste the crashdump text here, but also send in - especially the one from our own (McNeel).

edit: looks like you already have been sending in some crash reports, thank you for that!

switching the viewports to raytraced and using the _render command, i get a Command Buffer Failed in the bottom left corner of the render window.

Ah, in all likelohood switching away from Raytraced, then back again causes crash too.

This is a bug happening deep in Metal driver code.

I have given this bug to Apple already last year, but as far as I know no further info about this has been given other than that they don’t know why it happens.

do you think it could be an issue with my laptop, the processor or graphics card? i’m debating purchasing a new mac but concerned i’ll have the same issues on a new laptop.

I believe it is an issue with the Metal driver in combination with your Intel GPU. I have not seen such crashes on my M2 Max laptop with 64GB RAM, but very sporadically on my M1 with 16GB RAM - and then pretty much only with lots of procedural textures.

1 Like

ok thanks. i think i’ll go ahead and get a new laptop. appreciate your help with this matter.