What is the result of your code?
Did you add “NavMesh” to the Level that will generate a walkable path for the AI?
Without this the AI will not move anywhere
Once you place it on the Level make sure it covers areas the AI should be able to walk around, press P to see the NavMesh Generation