AI not working when launch game

Try going into Edit->Project Settings->Navigation Mesh and setting the Runtime Generation to Dynamic and checking the Force Rebuild on Load option.

Let me know if that helps.

If not, try typing the show navigation command in the console in your launched game and see if you are able to see the Nav Mesh.