UE5.1 Every Time I change Solution Configuration and build game it has to rebuild the entire engine

To be clear, I built from Source

I don’t understand why this is happening. Is this intended behavior?
I would switch to Debugger Editor. Then build. It has to build >2000 processes, and takes an hour and a half. Then, when I do the debugging, I switch to Development Editor, change a bit of logic, and again over 2K jobs and 1.5 hours. But when I build again, while staying in the same solution configuration, the build is very quick and only builds incremental jobs like it’s supposed to.

This cannot be intended behavior, can it?

When I build, I’m careful to build the game, and not the entire solution. I right-click on my game name under “Games” in the solution explorer, and select “Build” (not “Rebuild”).

I developed in UE4 a few years ago, also having built from solution, and I don’t remember something like this ever happening. Why is it happening now? Is it a VS2022 bug?

I have the same effect with the 5.3 sources and VS2022: the engine is rebuilding completely and the only thing I changed was a plugin located in the marketplace subfolder. This is very annyoing. Did anyone find out how to prevent this?

I found out that in my case a plugin from marketplace was causing this behaviour: for some reason, the plugin triggered a complete engine rebuild.

Unfortunately, the behaviour is not solved. I have two projects using the engine 5.3 I built from source (because of dedicated servers) and when I try to open one, the engine wants me to rebuild modules using the API. After that everything works but when I then open the second project, it wants me to rebuild modules using the API. In both cases I did not change any code but the engine modules (about 2800 items) need to be rebuild.

Does anyone have an idea where to look into to change this behaviour?