I deleted the folder .vs, binaries, Intermediate, Saved and .sln
Run the .uproject of your project. You will get a message and the message is YES. Once the editor is opened in File-> generate visual studio project and its variable should appear. currently I also experienced that kind of bugs