My C++ classes disappear after reopening the project. Why?

Thank you Zeaf. I launch the project from the launcher and i use the ide to write c++ code.
I have deleted intermediate and binaries folders,then the launcher asks me if i want to rebuild the project. After that,when i open the project,my classes reappear again but when i open visual studio,the editor tells me that the project does not exist.
So,after deleting intermediate and binaries folders and rebuilding

  • i close ide and project,and then open again the project
  • In World Settings/ GameMode override,i select MyGameModeBase (derived from GameModeBase),this is fundamental!
  • if i open visual studio,the project is there,with all the code.
  • AND EVERYTHING WORKS
2 Likes