AI Don't want to follow player / UE 4.18 to 4.21

Hi, I have export my projet to switch into ue 4.21 but after that, my AI don’t follow my player except if I check Project Settings → Navigation Mesh → Can be Main Nav Data. But it work only in viewport not in standalone Anyone can help me ?

I had this problem too.It spent me a half day to solve.It does not work if just setting in the editor,you need open the DefaultEngine.ini file in config folder and set the variable can be main nav data to true.Then navigation can work after packing game.