Unity 2023.1.20 - HDRP.
I have a 25 x 20 flat terrain with a couple of layers. It took 10 minutes to bake a NavMesh surface (added NavMeshSurface as a child to Terrain. Adding as a component failed to bake at all). I tried to Play the scene in the editor, and after 10 minutes of loading, gave up.
Trying to close or open Unity gracefully took over 15 minutes as well once NavMesh is baked into the scene.
Update
I checked the size of the NavMeshSurface size - it’s over 200mb. I’m assuming something is wrong here.
This is practically a fresh project, and my desktop is current ( Ryzen 7 7700X, 32 GB memory, RTX 3070 Ti).
How can I address this issue?
Resolved:
It was baking ALL layers, including the two character game objects in the scene. Intuitively, you’d think the layers only apply to whatever game object its child objects the NavMeshSurface component is associated with, but apparently not.