when I try to drag and drop nav mesh surface script to the empty game object it shows me error "Can't add script component 'NavMeshSurface' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match." anyone knows what to do?
↧