Visual Studio rebuilding engine unnecessarily in 4.19
I've had this on 2 different computers so far after upgrading to 4.19. I saw some reports of it in the 4.19 Transition Guide thread but there wasn't a consistent resolution posted.
I enabled verbose logging for the UBT and there is lots of this in the output:
I still have the log from the previous time the problem occurred and it was for a different file that time:
I changed the Build and Run setting to 'Prompt before build' to add a bit of protection. I changed over to non-unity build as well but the problem still happens as well. For the our project sln I also changed the Configuration Manager setting it to only build our project, but these outdated actions are within that build.
Is there any known fix for this or anything else I can try?
asked Jun 09 '18 at 02:38 AM in Using UE4
Have you tried to force a complete rebuild?
I've noticed in the past that VS had the habit of recompiling the engine out of the blue for some reason. I don't know why it does that. If you have plenty of space to spare, you could set up FASTBuild for Unreal. Keep in mind that ideally you want the cache to be on an SSD (with like 75-100GB of free space). I don't know how much speedup you'd get on an HDD. Building with FASTBuild for the first time takes longer, because it creates the cache. After that, recompiling becomes a lot faster.
answered Jun 09 '18 at 10:04 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here