My C++ project is not opening

Hey, yesterday I wrote a C++ code in which I by mistake added UGameuserSettings in the construct function but when I compiled I got no error and when I reopened the project today it showed me the error and crashed the editor did not even opened I change the code from visual studio but I need to compile it but I cannot compile it because for that I need the edior but the editor is not even opening is there any fix for this?
BTW this is the error-

  • Compile with VS Community

  • If Project not opening in VS Community,
    open any other project, set VS Community in Editor Preferences->Source Code.,
    right click on this uproject file → generate project files.,
    open .sln , right click on project name - > Build

1 Like

Thanks!