I’m getting problems compiling C++ projects in 4.15 with VS2015 v3 where, when errors are removed they will only compile properly using Rebuild (taking considerably longer) – just using build does not compile. Alternatively compiling from the Editor does work.
I am not getting this problem using 4.14.
I tested this using empty projects.
I am running Windows 10 with projects from the launcher.
What are the errors you’re getting when you attempt to compile? It sounds like the affected project was converted from 4.14 to 4.15, do you get the same errors in a new 4.15 project? If so, can you provide the setup steps/instructions so that I can match your setup locally?
Can you provide the full error when it fails to compile the second time (after removing the brackets). When I follow these steps in a new 4.15 project locally I am able to compile the second time after step 4. The error your seeing may help me determine what exactly is happening on your end.
I tested again and still not getting the same compile failure. Can you check if the projects you’ve tried have any plugins turned on? Additionally, do you get the same compile errors if you try to compile with the project closed (not preform a hot reload)?
After further testing, what you’re seeing is the result of an issue that is currently being investigated. The compile is still completing (you can see the “Hot Reload Complete” message inside the editor) even though VS is reporting an error. This seems to be caused by .dll files in the project’s Intermediate folder. Because this is related to hot reload, you can avoid this completely by closing the project before compiling from Visual Studio.
thank you for reporting this. Its been driving me insane - I wasted a full two days trying to figure this out. I can confirm that it happens in 4.15 (release) and visual studio update 3 (current hot fixes). Even in a new blank C++ project, after compiling with visual studio the second time. (add spaces to a new class to force it to compile)… Closing the editor, disables the hot reload and the error goes away. Very annoying.
Hi, Iam usign fresh 4.15.3 now and still have this hot reload issue. Only closing editor before compiling in VS solve the problem. When this will work? Its really bothering stuff…
I had it, I did full project clear: binaries, saved, intermediate. Basically, only content and source left, and all compile issues gone. Make a copy of a project and try clearing.