I know that editor doesnt exist during build, but I dont understand how to fix it. Everything works fine in the editor.
Here is my NavMeshSurface object
I’m not using UnityEditor. NavMeshComponents do. They have folder named Editor where every script uses UnityEditor. How do I use NavMeshComponents without this folder? My AI just stops working without that folder.
Here are my projects, you can see the Editor folder exists only in NavMeshComponentsEditor project