Runtime Generation of Unity NavMesh on the XY plane with 2D Physics

Introduction When working with 2D physics in Unity, it often feels like you’re a second-class citizen. The 2D physics API and featureset has been lagging behind 3D for a while, and support for NavMesh pathfinding on the XY is… quite poorly documented. To the point I couldn’t find anyone explaining how to use it, even […]