GH fails to load on Rhino 8 Mac – GH_FontServer NullReferenceException

Hi,

I’m having an issue where Grasshopper will not load in Rhino 8 on my Mac.

I’m new to Grasshopper, so this is happening before I’ve created or opened any Grasshopper definitions.

Steps to reproduce:

  1. Open Rhino 8.

  2. Start with a new blank Rhino file.

  3. Run the Grasshopper command.

  4. Grasshopper starts loading, but I get a Grasshopper Loading Errors window.

  5. Multiple standard components fail to load, including GH_Scribble, GH_NumberSlider and GH_DigitScroller.

  6. Closing the error window results in Grasshopper/Rhino crashing.

The underlying exception appears to be the same for all of them:

System.TypeInitializationException:
The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.

---> System.NullReferenceException:
Object reference not set to an instance of an object.

at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name)
at Grasshopper.Kernel.GH_FontServer..cctor()

It therefore looks like Grasshopper is failing while initialising GH_FontServer, rather than there being a problem with an individual component.

Things I’ve tried:

  • Restarting the Mac.

  • Checking fonts in Font Book.

  • Starting Rhino with clean/default settings.

  • Resetting/removing the Rhino 8 settings and Grasshopper configuration XML files.

  • Starting with a completely blank Rhino document.

The problem remains exactly the same.

System:

Rhino 8 SR34
Version 8.34.26223.11002
Build: 2026-08-11

macOS 26.2 (Build 25C56)
MacBookPro18,4
Apple M1 Max
32 GB RAM
.NET 8.0.14

There are no third-party Rhino plugins installed according to SystemInfo.

The full Grasshopper loading error repeatedly points to:

Grasshopper.Kernel.GH_FontServer.CreateFamily(String name)
GH_FontServer.vb: line 68

and subsequently prevents standard Grasshopper components from initialising.

I can paste the complete SystemInfo and full Grasshopper loading-error output below.

Has anyone encountered this with Rhino 8 SR34 on macOS 26.2, or is there another Grasshopper/font configuration or cache that I should try resetting?

Thanks!

Hi Jonathan,

Please run SystemInfo in the Rhino command line and post the complete results.

Are you running any 3rd party GH plugins? This initially sounds like some sort of plugin incompatibility.

Hi Japhy,

Thanks for youre reply.

I haven’t added any plugins, I also did a clean re-install (or my attempt at one).

Rhino 8 SR34 2026-8-11 (Rhino 8, 8.34.26223.11002, Git hash:master @ f416e902495235e4e4a45cfc29ff1320cc8c70d8)
License type: Commercial, build 2026-08-11
License details: Cloud Zoo

Apple macOS Version 26.2 (Build 25C56) (Physical RAM: 32GB)
Mac Model Identifier: MacBookPro18,4
Language: en-GB (MacOS default)
.NET 8.0.14

Metal GPU Family Apple 7
Metal GPU Family Common 3
Metal GPU Family Mac 2
Graphics processors
Apple M1 Max
DELL C2422HE (1920 x 1080 @ 60.00Hz)
Color LCD (1512 x 982 @ 120.00Hz)
GPU Vendor: Apple

USB devices
Realtek: USB 10/100/1000 LAN
Generic: USB3.2 Hub
Realtek: HID Device
Realtek: BillBoard Device
Realtek: HID Device
Dell: C2422HE

Bluetooth devices
None

Third party kernel extensions
None

Third party plugins
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftSystem.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswift_Builtin_float.dylib
/usr/lib/swift/libswift_Concurrency.dylib
/usr/lib/swift/libswift_DarwinFoundation1.dylib
/usr/lib/swift/libswift_StringProcessing.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftDistributed.dylib
/usr/lib/swift/libswiftObservation.dylib
/usr/lib/swift/libswiftSynchronization.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswift_RegexParser.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftCoreAudio.dylib
/usr/lib/swift/libswiftCoreMIDI.dylib
/usr/lib/swift/libswift_DarwinFoundation2.dylib
/usr/lib/swift/libswift_DarwinFoundation3.dylib
/usr/lib/swift/libswiftCompression.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftRegexBuilder.dylib
/usr/lib/swift/libswiftCoreMedia.dylib
/usr/lib/swift/libswiftAVFoundation.dylib
/usr/lib/swift/libswiftNaturalLanguage.dylib
/usr/lib/swift/libswiftMLCompute.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftFoundation.dylib
/usr/lib/swift/libswiftSwiftOnoneSupport.dylib
/usr/lib/swift/libswiftsys_time.dylib
/usr/lib/swift/libswiftSpatial.dylib
/usr/lib/usd/libusd_ms.dylib
/usr/lib/swift/libswift_errno.dylib
/usr/lib/swift/libswiftIntents.dylib
/usr/lib/swift/libswiftVideoToolbox.dylib
/usr/lib/swift/libswiftCoreMediaIO.dylib
/usr/lib/swift/libswiftCallKit.dylib
/usr/lib/swift/libswiftPassKit.dylib
/usr/lib/swift/libswiftAppleArchive.dylib
/usr/lib/updaters/libAppleTconUARPUpdater.dylib
/usr/lib/updaters/libT200Updater.dylib
/usr/lib/swift/libswiftDemangle.dylib
/usr/lib/swift/libswiftGLKit.dylib
/usr/lib/swift/libswiftMetalKit.dylib
/usr/lib/swift/libswiftModelIO.dylib
/usr/lib/swift/libswiftSceneKit.dylib
/usr/lib/swift/libswiftExtensionFoundation.dylib
/usr/lib/swift/libswiftGameplayKit.dylib
/usr/lib/swift/libswiftSpriteKit.dylib
/usr/lib/swift/libswiftMapKit.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.34.26223.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp	"Commands"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/PlugIns/NamedSnapshots.rhp	"Snapshots"	8.34.26223.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp	"RDK_EtoUI"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp	"MeshCommands"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp	"Rhino Render"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp	"RhinoCycles"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/PlugIns/SectionTools.rhp	"SectionTools"	8.34.26223.1002
/Applications/Rhino 8.app/Contents/PlugIns/Displacement.rhp	"Displacement"	8.34.26223.1002
/Applications/Rhino 8.app/Contents/PlugIns/PanelingTools.rhp	"PanelingTools"	8.34.26223.1002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp	"IronPython"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp	"Grasshopper"	8.34.26223.11002
/Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCodePlugin.rhp	"RhinoCodePlugin"	8.34.26223.11002

This is a new one. A quick google tells me that “macOS 26 is known to mix old Helvetica copies into the system set and that breaks font lookups”

In Font Book, look for duplicate or legacy Helvetica variants and disable or remove them, then try Grasshopper again.

Hi Japhy,

Thanks for your message. I tried that one already and I still get…

Object: GH_Scribble (level 1)
{
Exception has been thrown by the target of an invocation.
TargetInvocationException
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_StandardAdjusted() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 485
at Grasshopper.Kernel.Special.GH_DigitScroller..ctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_DigitScrollerObject.vb:line 286
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at Grasshopper.Kernel.GH_ComponentServer.LoadDocObject(Type T, GH_AssemblyInfo assembly, GH_GuidConflictSolution& conflictSolution) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_ComponentServerAddInLoading.vb:line 1409
}

Object: GH_Scribble (level 2)
{
The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
TypeInitializationException
System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_StandardAdjusted() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 485
at Grasshopper.Kernel.Special.GH_DigitScroller..ctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_DigitScrollerObject.vb:line 286
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
}

Object: GH_Scribble (level 3)
{
Object reference not set to an instance of an object.
NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
}

Object: GH_NumberSlider (level 1)
{
Exception has been thrown by the target of an invocation.
TargetInvocationException
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_StandardAdjusted() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 485
at Grasshopper.Kernel.Special.GH_DigitScroller..ctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_DigitScrollerObject.vb:line 286
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at Grasshopper.Kernel.GH_ComponentServer.LoadDocObject(Type T, GH_AssemblyInfo assembly, GH_GuidConflictSolution& conflictSolution) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_ComponentServerAddInLoading.vb:line 1409
}

Object: GH_NumberSlider (level 2)
{
The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
TypeInitializationException
System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_StandardAdjusted() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 485
at Grasshopper.Kernel.Special.GH_DigitScroller..ctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_DigitScrollerObject.vb:line 286
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
}

Object: GH_NumberSlider (level 3)
{
Object reference not set to an instance of an object.
NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
}

Object: GH_DigitScroller (level 1)
{
Exception has been thrown by the target of an invocation.
TargetInvocationException
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_StandardAdjusted() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 485
at Grasshopper.Kernel.Special.GH_DigitScroller..ctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_DigitScrollerObject.vb:line 286
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
--- End of inner exception stack trace ---
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at Grasshopper.Kernel.GH_ComponentServer.LoadDocObject(Type T, GH_AssemblyInfo assembly, GH_GuidConflictSolution& conflictSolution) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_ComponentServerAddInLoading.vb:line 1409
}

Object: GH_DigitScroller (level 2)
{
The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
TypeInitializationException
System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_StandardAdjusted() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 485
at Grasshopper.Kernel.Special.GH_DigitScroller..ctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_DigitScrollerObject.vb:line 286
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
}

Object: GH_DigitScroller (level 3)
{
Object reference not set to an instance of an object.
NullReferenceException
System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
}

I’d like to see if constructing any of the default fonts causes an error. For this you’ll have to run the _ScriptEditor command on your Rhino and paste the following code into a new C# file, then press the green Run button. It should pop up a Rhino text window like so (though I’m hopeful yours will contain errors):

The script code:

using System;
using System.Drawing;
using System.Drawing.Text;
using System.Runtime.InteropServices;

var log = new System.Text.StringBuilder();

string SafeName(FontFamily f)
{
  try { return f.Name; } 
  catch { return null; }
}

log.AppendLine("Rhino : " + Rhino.RhinoApp.Version);
log.AppendLine("Runtime : " + RuntimeInformation.FrameworkDescription);
log.AppendLine("OS : " + RuntimeInformation.OSDescription);
log.AppendLine("");

void Generic(string label, Func<FontFamily> getFont)
{
  try
  {
    var family = getFont();
    if (family is null) 
    {
      log.AppendLine(label + " → family is null"); 
      return; 
    }

    try
    {
      var n = family.Name;
      log.AppendLine(label + " → " + (n is null ? "<null>" : "\"" + n + "\""));
    }
    catch (Exception ex) 
    {
      log.AppendLine(label + " → FontFamily.Name " + ex.GetType().Name + ": " + ex.Message); 
    }
  }
  catch (Exception ex) 
  {
    log.AppendLine(label + " → " + ex.GetType().Name + ": " + ex.Message); 
  }
}

Generic("GenericSansSerif", () => FontFamily.GenericSansSerif);
Generic("GenericMonospace", () => FontFamily.GenericMonospace);
Generic("GenericSerif", () => FontFamily.GenericSerif);
Generic("CaptionFont", () => SystemFonts.CaptionFont?.FontFamily);
Generic("DefaultFont", () => SystemFonts.DefaultFont?.FontFamily);
log.AppendLine();

// 2. Exactly what GH_FontServer.CreateFamily enumerates.
FontFamily[] families = null;
try
{
  families = new InstalledFontCollection().Families;
  log.AppendLine("InstalledFontCollection.Families → " + families.Length + " families");
}
catch (Exception ex)
{
  log.AppendLine("InstalledFontCollection.Families THREW " + ex.GetType().Name + ": " + ex.Message);
  log.AppendLine(ex.ToString());
}
log.AppendLine();

if (families != null)
{
  int bad = 0;
  for (int i = 0; i < families.Length; i++)
  {
    FontFamily f = families[i];
    string problem = default;

    if (f is null) 
      problem = "family is null";
    else
    {
      try
      {
        string n = f.Name;
        if (n is null) 
          problem = "Name is null ← this is probably the problem";
        else if (n.Length == 0) 
          problem = "Name is empty";
      }
      catch (Exception ex) { problem = "Name threw " + ex.GetType().Name + ": " + ex.Message; }
    }

    if (problem != null)
    {
      bad++;
      string before = i > 0 ? SafeName(families[i - 1]) : "(start)";
      string after = i < families.Length - 1 ? SafeName(families[i + 1]) : "(end)";
      log.AppendLine("[" + i + "] " + problem);
      log.AppendLine("      sits between \"" + (before ?? "?") + "\" and \"" + (after ?? "?") + "\"");
    }
  }

  log.AppendLine();
  log.AppendLine(bad == 0
      ? "All " + families.Length + " family names read cleanly."
      : bad + " problem family/families found.");
  
  Rhino.UI.Dialogs.ShowTextDialog(log.ToString(), "Font Test");
}

Yes, you’re right it’s raised a bug…

Rhino : 8.34.26223.11002
Runtime : .NET 8.0.14
OS : Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:40 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6000

GenericSansSerif → "Microsoft Sans Serif"
GenericMonospace → "Courier New"
GenericSerif → "Times New Roman"
CaptionFont → ".AppleSystemUIFont"
DefaultFont → ".AppleSystemUIFont"

InstalledFontCollection.Families → 1139 families

[190] Name is null ← this is probably the problem
sits between "Brush Script Std" and "Bullets 5(Korean)"

1 problem family/families found.

I tried to delete a few fonts but the error just shifts to a different font…

Rhino : 8.34.26223.11002
Runtime : .NET 8.0.14
OS : Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:40 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6000

GenericSansSerif → "Microsoft Sans Serif"
GenericMonospace → "Courier New"
GenericSerif → "Times New Roman"
CaptionFont → ".AppleSystemUIFont"
DefaultFont → ".AppleSystemUIFont"

InstalledFontCollection.Families → 1135 families

[189] Name is null ← this is probably the problem
sits between "Brush Script MT" and "BureauAgencyBold"

1 problem family/families found.

Brush Script MT can’t be removed as its a system font

Okay, I can’t tell you which font is failing, because it doesn’t seem to have a name. And I’m pretty sure the ordering is somewhat random. Let me have a look to see what might cause this and whether there’s a solution without us having to release a fixed version.

This script should tell us more still. I had to ask Claude for help for the macOS specific stuff, so if you’re not comfortable running partially AI written code; don’t run this script.

There are certainly holes I can plug in the Grasshopper font code that should catch these issues, but given how long it’ll take to get a potential fix out, I’d like to find out if there’s something you can do right now to fix this.

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Text;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using ED = Eto.Drawing;

var log = new System.Text.StringBuilder();

string SafeName(FontFamily f)
{
  try { return f.Name; }
  catch { return null; }
}

log.AppendLine("Rhino : " + Rhino.RhinoApp.Version);
log.AppendLine("Runtime : " + RuntimeInformation.FrameworkDescription);
log.AppendLine("OS : " + RuntimeInformation.OSDescription);
log.AppendLine("System.Drawing : " + typeof(FontFamily).Assembly.Location);
log.AppendLine("Eto : " + typeof(ED.Font).Assembly.Location);
log.AppendLine("");

void Generic(string label, Func<FontFamily> getFont)
{
  try
  {
    var family = getFont();
    if (family is null)
    {
      log.AppendLine(label + " → family is null");
      return;
    }

    try
    {
      var n = family.Name;
      log.AppendLine(label + " → " + (n is null ? "<null>" : "\"" + n + "\""));
    }
    catch (Exception ex)
    {
      log.AppendLine(label + " → FontFamily.Name " + ex.GetType().Name + ": " + ex.Message);
    }
  }
  catch (Exception ex)
  {
    log.AppendLine(label + " → " + ex.GetType().Name + ": " + ex.Message);
  }
}

Generic("GenericSansSerif", () => FontFamily.GenericSansSerif);
Generic("GenericMonospace", () => FontFamily.GenericMonospace);
Generic("GenericSerif", () => FontFamily.GenericSerif);
Generic("CaptionFont", () => SystemFonts.CaptionFont?.FontFamily);
Generic("DefaultFont", () => SystemFonts.DefaultFont?.FontFamily);
log.AppendLine();

FontFamily[] families = null;
try
{
  families = new InstalledFontCollection().Families;
  log.AppendLine("InstalledFontCollection.Families → " + families.Length + " families");
}
catch (Exception ex)
{
  log.AppendLine("InstalledFontCollection.Families exception: " + ex.GetType().Name + ": " + ex.Message);
  log.AppendLine(ex.ToString());
}
log.AppendLine();

var sdNames = new List<string>();
var problems = new List<int>();

if (families != null)
{
  for (int i = 0; i < families.Length; i++)
  {
    var family = families[i];
    string problem = default;
    string name = default;

    if (family is null)
      problem = "family is null";
    else
    {
      try
      {
        name = family.Name;
        if (name is null)
          problem = "Name is null ← this is probably the problem";
        else if (name.Length == 0)
          problem = "Name is empty";
      }
      catch (Exception ex) { problem = "Name threw " + ex.GetType().Name + ": " + ex.Message; }
    }

    if (name != null) 
      sdNames.Add(name);

    if (problem != null)
    {
      problems.Add(i);
      string before = i > 0 ? SafeName(families[i - 1]) : "(start)";
      string after = i < families.Length - 1 ? SafeName(families[i + 1]) : "(end)";
      log.AppendLine("[" + i + "] " + problem);
      log.AppendLine("      sits between \"" + (before ?? "?") + "\" and \"" + (after ?? "?") + "\"");
    }
  }

  log.AppendLine();
  log.AppendLine(problems.Count == 0
      ? "All " + families.Length + " family names read cleanly."
      : problems.Count + " problem family/families found.");
}
log.AppendLine();

if (families != null && problems.Count > 0)
{
  log.AppendLine("--- descriptor detail for the problem families ---");

  var descriptorField = typeof(FontFamily).GetField("nativeFontDescriptor",
                    BindingFlags.NonPublic | BindingFlags.Instance);

  if (descriptorField is null)
    log.AppendLine("private field 'nativeFontDescriptor' not found - unexpected System.Drawing build");
  else
  {
    var wanted = new SortedSet<int>();
    foreach (int p in problems)
      for (int i = p - 1; i <= p + 1; i++)
        if (i >= 0 && i < families.Length) wanted.Add(i);

    foreach (int i in wanted)
    {
      FontFamily f = families[i];
      log.AppendLine("[" + i + "] Name = " + (SafeName(f) ?? "<null>"));

      if (f is null) 
        continue;

      object descriptor = descriptorField.GetValue(f);
      if (descriptor is null)
      {
        log.AppendLine("      descriptor is null");
        continue;
      }

      object attributes = default;
      try { attributes = descriptor.GetType().GetMethod("GetAttributes").Invoke(descriptor, null); }
      catch (Exception ex) { log.AppendLine("      GetAttributes threw " + ex.GetType().Name + ": " + ex.Message); }

      if (attributes is null)
      {
        log.AppendLine("      attributes are null");
        continue;
      }

      foreach (var p in attributes.GetType().GetProperties())
      {
        var getter = p.GetGetMethod();
        if (getter is null || getter.IsStatic || p.GetIndexParameters().Length > 0) 
          continue;

        object v = default;
        try { v = p.GetValue(attributes); }
        catch (Exception ex) { v = "<threw " + ex.GetType().Name + ">"; }
        if (v != null) log.AppendLine("      " + p.Name + " = " + v);
      }
    }
  }
  log.AppendLine();
}

string captionName = default;
try { captionName = SystemFonts.CaptionFont?.FontFamily?.Name; } catch { }

log.AppendLine("caption family name : " + (captionName ?? "<null>"));
log.AppendLine("found in enumeration : " +
  (captionName != null && sdNames.Contains(captionName, StringComparer.OrdinalIgnoreCase)));
log.AppendLine();


var etoNames = new List<string>();
try
{
  foreach (ED.FontFamily family in ED.Fonts.AvailableFontFamilies)
  {
    if (family is null)
    {
      log.AppendLine("Eto: null entry in AvailableFontFamilies");
      continue;
    }

    string n = default;
    try { n = family.Name; }
    catch (Exception ex) { log.AppendLine("Eto: FontFamily.Name threw " + ex.GetType().Name + ": " + ex.Message); }

    if (n is null) log.AppendLine("Eto: family with null Name");
    else etoNames.Add(n);
  }

  log.AppendLine("Eto.Fonts.AvailableFontFamilies → " + etoNames.Count + " families");
}
catch (Exception ex)
{
  log.AppendLine("Eto.Fonts.AvailableFontFamilies THREW " + ex.GetType().Name + ": " + ex.Message);
}

var sdOnly = sdNames.Except(etoNames, StringComparer.OrdinalIgnoreCase).OrderBy(s => s).ToArray();
var etoOnly = etoNames.Except(sdNames, StringComparer.OrdinalIgnoreCase).OrderBy(s => s).ToArray();

log.AppendLine("known to System.Drawing but not Eto : " + sdOnly.Length);
foreach (string s in sdOnly.Take(40)) log.AppendLine("      " + s);
log.AppendLine("known to Eto but not System.Drawing : " + etoOnly.Length);
foreach (string s in etoOnly.Take(40)) log.AppendLine("      " + s);
log.AppendLine();

ED.Font ToEto(Font font)
{
  var style = ED.FontStyle.None;
  var decoration = ED.FontDecoration.None;

  if (font.Bold) style |= ED.FontStyle.Bold;
  if (font.Italic) style |= ED.FontStyle.Italic;
  if (font.Underline) decoration |= ED.FontDecoration.Underline;
  if (font.Strikeout) decoration |= ED.FontDecoration.Strikethrough;

  return new ED.Font(font.FontFamily.Name, font.SizeInPoints, style, decoration);
}

string RoundTrip(string familyName, float size, FontStyle style, bool verbose)
{
  try
  {
    var sdFont = new Font(familyName, size, style, GraphicsUnit.Point);
    string sdResolved = sdFont.FontFamily.Name;

    var etoFont = ToEto(sdFont);
    string etoResolved = etoFont.FamilyName;

    string etoFamily = default;
    try { etoFamily = etoFont.Family?.Name; } catch { }

    if (verbose)
    {
      log.AppendLine("      asked : \"" + familyName + "\" " + size + "pt " + style);
      log.AppendLine("      S.D.  : \"" + (sdResolved ?? "<null>") + "\" " + sdFont.SizeInPoints
        + "pt bold=" + sdFont.Bold + " italic=" + sdFont.Italic);
      log.AppendLine("      Eto   : \"" + (etoResolved ?? "<null>") + "\" family=\"" + (etoFamily ?? "<null>")
        + "\" " + etoFont.Size + "pt bold=" + etoFont.Bold + " italic=" + etoFont.Italic);
    }

    if (etoResolved is null) return "Eto FamilyName is null";
    if (!string.Equals(sdResolved, etoResolved, StringComparison.OrdinalIgnoreCase))
      return "Eto substituted \"" + etoResolved + "\" for \"" + sdResolved + "\"";
    if (Math.Abs(etoFont.Size - sdFont.SizeInPoints) > 0.01f)
      return "size drifted " + sdFont.SizeInPoints + " → " + etoFont.Size;
    if (etoFont.Bold != sdFont.Bold) return "bold lost";
    if (etoFont.Italic != sdFont.Italic) return "italic lost";

    return null;
  }
  catch (Exception ex) { return "THREW " + ex.GetType().Name + ": " + ex.Message; }
}

log.AppendLine("--- GH_FontServer's own defaults through ToEto ---");
foreach (string family in new[] { "Microsoft Sans Serif", "Courier New", "Times New Roman" })
  foreach (float size in new float[] { 6f, 8f, 10f, 12f })
  {
    string bad = RoundTrip(family, size, FontStyle.Regular, false);
    if (bad != null) log.AppendLine("\"" + family + "\" " + size + "pt → " + bad);
  }

if (captionName != null)
{
  log.AppendLine("caption font detail:");
  RoundTrip(captionName, 8f, FontStyle.Regular, true);
}
log.AppendLine();

log.AppendLine("--- all " + sdNames.Count + " installed families through ToEto ---");
int broken = 0;
foreach (string family in sdNames)
{
  string bad = RoundTrip(family, 8f, FontStyle.Regular, false);
  if (bad != null)
  {
    broken++;
    if (broken <= 60) log.AppendLine("\"" + family + "\" → " + bad);
  }
}
log.AppendLine(broken + " of " + sdNames.Count + " families do not survive the round trip"
  + (broken > 60 ? " (first 60 listed)" : ""));
log.AppendLine();

try
{
  var f = new ED.Font((string)null, 8f, ED.FontStyle.None, ED.FontDecoration.None);
  log.AppendLine("Eto.Font(null, 8pt) → \"" + (f.FamilyName ?? "<null>") + "\"");
}
catch (Exception ex)
{
  log.AppendLine("Eto.Font(null, 8pt) THREW " + ex.GetType().Name + ": " + ex.Message);
}
log.AppendLine();

try
{
  var asm = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(a => a.GetName().Name == "Grasshopper");
  if (asm is null)
    log.AppendLine("Grasshopper.dll is not loaded. Run the Grasshopper command once, then re-run this.");
  else
  {
    var type = asm.GetType("Grasshopper.Kernel.GH_FontServer", false);
    if (type is null)
      log.AppendLine("GH_FontServer type not found.");
    else
    {
      var prop = type.GetProperty("Standard", BindingFlags.Public | BindingFlags.Static);
      log.AppendLine("GH_FontServer.Standard = " + prop.GetValue(null));
    }
  }
}
catch (Exception ex)
{
  log.AppendLine("GH_FontServer failed. Full text, including every inner exception:");
  log.AppendLine(ex.ToString());
  for (Exception inner = ex.InnerException; inner != null; inner = inner.InnerException)
  {
    log.AppendLine("--- inner ---");
    log.AppendLine(inner.ToString());
  }
}

Rhino.UI.Dialogs.ShowTextDialog(log.ToString(), "Font Test");

Meanwhile; logged here.

Hi David,

Here’s the new log:

Rhino : 8.34.26223.11002
Runtime : .NET 8.0.14
OS : Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:40 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6000
System.Drawing : /Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/System.Drawing.Common.dll
Eto : /Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/Eto.dll

GenericSansSerif → "Microsoft Sans Serif"
GenericMonospace → "Courier New"
GenericSerif → "Times New Roman"
CaptionFont → ".AppleSystemUIFont"
DefaultFont → ".AppleSystemUIFont"

InstalledFontCollection.Families → 1135 families

[189] Name is null ← this is probably the problem
sits between "Brush Script MT" and "BureauAgencyBold"

1 problem family/families found.

--- descriptor detail for the problem families ---
[188] Name = Brush Script MT
Dictionary = {
NSFontNameAttribute = "Brush Script MT";
}
Name = Brush Script MT
CascadeList = CoreText.CTFontDescriptor

Languages = System.String

Features = CoreText.CTFontFeatures

FeatureSettings = CoreText.CTFontFeatureSettings

Enabled = False
[189] Name = 
Dictionary = {
NSFontNameAttribute = "Brush Up";
}
Name = Brush Up
CascadeList = CoreText.CTFontDescriptor

Languages = System.String

Features = CoreText.CTFontFeatures

FeatureSettings = CoreText.CTFontFeatureSettings

Enabled = False
[190] Name = BureauAgencyBold
Dictionary = {
NSFontNameAttribute = BureauAgencyBold;
}
Name = BureauAgencyBold
CascadeList = CoreText.CTFontDescriptor

Languages = System.String

Features = CoreText.CTFontFeatures

FeatureSettings = CoreText.CTFontFeatureSettings

Enabled = False

caption family name : .AppleSystemUIFont
found in enumeration : True

Eto.Fonts.AvailableFontFamilies → 1134 families
known to System.Drawing but not Eto : 1
.AppleSystemUIFont
known to Eto but not System.Drawing : 1
Brush Up

--- GH_FontServer's own defaults through ToEto ---
caption font detail:
asked : ".AppleSystemUIFont" 8pt Regular
S.D.  : ".AppleSystemUIFont" 8pt bold=False italic=False
Eto   : ".AppleSystemUIFont" family=".AppleSystemUIFont" 8pt bold=False italic=False

--- all 1134 installed families through ToEto ---
0 of 1134 families do not survive the round trip

Eto.Font(null, 8pt) THREW NullReferenceException: Object reference not set to an instance of an object.

GH_FontServer failed. Full text, including every inner exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_Standard() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 452
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- End of inner exception stack trace ---
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at RhinoCodeScript.RunScript(IThisCode this, RunContext context) in file:///Users/jonathan/.rhinocode/stage/20sjpjde.sqw:line 333
--- inner ---
System.TypeInitializationException: The type initializer for 'Grasshopper.Kernel.GH_FontServer' threw an exception.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
--- End of inner exception stack trace ---
at Grasshopper.Kernel.GH_FontServer.get_Standard() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 452
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--- inner ---
System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16

Pasting it without a code block it looks like this (with weird square characters):

Rhino : 8.34.26223.11002
Runtime : .NET 8.0.14
OS : Darwin 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:40 PST 2025; root:xnu-12377.61.12~1/RELEASE_ARM64_T6000
System.Drawing : /Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/System.Drawing.Common.dll
Eto : /Applications/Rhino 8.app/Contents/Frameworks/RhCore.framework/Resources/Eto.dll

GenericSansSerif → “Microsoft Sans Serif”
GenericMonospace → “Courier New”
GenericSerif → “Times New Roman”
CaptionFont → “.AppleSystemUIFont”
DefaultFont → “.AppleSystemUIFont”

InstalledFontCollection.Families → 1135 families

[189] Name is null ← this is probably the problem
sits between “Brush Script MT” and “BureauAgencyBold”

1 problem family/families found.

-– descriptor detail for the problem families —
[188] Name = Brush Script MT
Dictionary = {
NSFontNameAttribute = “Brush Script MT”;
}
Name = Brush Script MT
CascadeList = CoreText.CTFontDescriptor
Languages = System.String
Features = CoreText.CTFontFeatures
FeatureSettings = CoreText.CTFontFeatureSettings
Enabled = False
[189] Name =
Dictionary = {
NSFontNameAttribute = “Brush Up”;
}
Name = Brush Up
CascadeList = CoreText.CTFontDescriptor
Languages = System.String
Features = CoreText.CTFontFeatures
FeatureSettings = CoreText.CTFontFeatureSettings
Enabled = False
[190] Name = BureauAgencyBold
Dictionary = {
NSFontNameAttribute = BureauAgencyBold;
}
Name = BureauAgencyBold
CascadeList = CoreText.CTFontDescriptor
Languages = System.String
Features = CoreText.CTFontFeatures
FeatureSettings = CoreText.CTFontFeatureSettings
Enabled = False

caption family name : .AppleSystemUIFont
found in enumeration : True

Eto.Fonts.AvailableFontFamilies → 1134 families
known to System.Drawing but not Eto : 1
.AppleSystemUIFont
known to Eto but not System.Drawing : 1
Brush Up

-– GH_FontServer’s own defaults through ToEto —
caption font detail:
asked : “.AppleSystemUIFont” 8pt Regular
S.D. : “.AppleSystemUIFont” 8pt bold=False italic=False
Eto : “.AppleSystemUIFont” family=“.AppleSystemUIFont” 8pt bold=False italic=False

-– all 1134 installed families through ToEto —
0 of 1134 families do not survive the round trip

Eto.Font(null, 8pt) THREW NullReferenceException: Object reference not set to an instance of an object.

GH_FontServer failed. Full text, including every inner exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
—> System.TypeInitializationException: The type initializer for ‘Grasshopper.Kernel.GH_FontServer’ threw an exception.
—> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
— End of inner exception stack trace —
at Grasshopper.Kernel.GH_FontServer.get_Standard() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 452
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
— End of inner exception stack trace —
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
at RhinoCodeScript.RunScript(IThisCode this, RunContext context) in file:///Users/jonathan/.rhinocode/stage/20sjpjde.sqw:line 333
— inner —
System.TypeInitializationException: The type initializer for ‘Grasshopper.Kernel.GH_FontServer’ threw an exception.
—> System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16
— End of inner exception stack trace —
at Grasshopper.Kernel.GH_FontServer.get_Standard() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 452
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
— inner —
System.NullReferenceException: Object reference not set to an instance of an object.
at Grasshopper.Kernel.GH_FontServer.CreateFamily(String name) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 68
at Grasshopper.Kernel.GH_FontServer..cctor() in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_FontServer.vb:line 16

Thanks, that seems to implicate the Brush Up font. Can you deactivate it in Font Book (no need to delete it) and try Grasshopper again?

Yes thats fixed it well done!

Thanks

Jon

I made some changes to the font code anyway, no point it falling flat on its face if it can just ignore a naughty font. So when the next Rhino versions are released you can hopefully activate the font again without issue.

RH-98076 is fixed in Rhino 8 Service Release 36