Hi @Florent Cazin,
Welcome to Microsoft Q&A!
You can try the following from the similar issue:
- Uninstall Visual Studio Completely
- Add modules “Desktop development with C++” and “.NET desktop development”, and also “Game development with C++ (for Unreal)”
- IMPORTANT: On Insallation details: remove IntelliCode (not sure, just tried it)
- Click Install
- Open Visual Studio: Tools > Text Editor > C++ > Intellisense, disable both suggestions tickbox (Some forum answers suggest Intellisense might be the issue)
- Open Unreal Project, compile once (maybe longer), click Tools > Refresh VS Project, save and restart try if compiles faster this time.
- Else, Close Unreal & Visual Studio, go to project folder delete SIB folders - Saved, Intermediate, Binaires
- Go to the project folder, right-click PROJECTNAME.uproject file, and select “Generate visual studio project files”
- Wait and double click open .uproject file (or from select project window), another dialog box displays - click OK to generate new files
- In UE Editor, select Tools > Open visual Studio (Keep VS open), try compiling now, (and note that first time of adding new C++ file will take some time to compile)
If it doesn’t work, please report it in dedicated Unreal Engine forum. Thanks for your understanding!
Sincerely, Anna
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.