NavMeshCut Exception

When I instantiate a prefab with a NavMeshCut component on it (and with a Tile helper elsewhere in the scene, which took a while to realize was needed…):

Exception while updating graphs:
System.ArgumentException: CompareBaseObjectsInternal can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don’t use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
at (wrapper managed-to-native) UnityEngine.Object:CompareBaseObjectsInternal (UnityEngine.Object,UnityEngine.Object)
at UnityEngine.Object.CompareBaseObjects (UnityEngine.Object lhs, UnityEngine.Object rhs) [0x00000] in :0
at UnityEngine.Object.op_Inequality (UnityEngine.Object x, UnityEngine.Object y) [0x00000] in :0
at Pathfinding.Voxels.Voxelize.FilterSmallRegions (System.UInt16[] reg, Int32 minRegionSize, Int32 maxRegions) [0x00006] in /Users/Clay/repos/swarm/Swarm/Assets/AstarPathfindingProject/Generators/Utilities/Voxels/VoxelRegion.cs:1004
at Pathfinding.Voxels.Voxelize.BuildRegions () [0x00276] in /Users/Clay/repos/swarm/Swarm/Assets/AstarPathfindingProject/Generators/Utilities/Voxels/VoxelRegion.cs:919
at Pathfinding.RecastGraph.BuildTileMesh (Pathfinding.Voxels.Voxelize vox, Int32 x, Int32 z) [0x001d5] in /Users/Clay/repos/swarm/Swarm/Assets/AstarPathfindingProject/Generators/RecastGenerator.cs:1425
at Pathfinding.RecastGraph.UpdateArea (Pathfinding.GraphUpdateObject guo) [0x0025e] in /Users/Clay/repos/swarm/Swarm/Assets/AstarPathfindingProject/Generators/RecastGenerator.cs:900
at AstarPath.ProcessGraphUpdatesAsync (System.Object _astar) [0x00074] in /Users/Clay/repos/swarm/Swarm/Assets/AstarPathfindingProject/Core/AstarPath.cs:1147

I only had this once and have not been able to reproduce it.