Why do server targets compile everything, over and over

So, evidently I need ProceduralMeshComponent.cpp in my ServerTarget even though I don’t use procedural generation. Also, Unrealheadertool runs every single time I compile my server.

My compile times for server targets = 30 minutes to an hour for changing a single string or adding a GEngine->AddOnScreenDebugMessage()

So basically, if I have a FString called myDog and I set it to “mydog1” and compile, it will take 30 minutes, then if I change it to “mydog2” and make no other changes the server target will still take 30 minutes. It is impossible to make any progress on my server if I have to do 30 minute compile times every single time I change anything.

please help

Hey poke1103,

Are you attempting to compile Development Server every time you make a change? Could you provide some context regarding exactly what changes you’re trying to make?

If you’re attempting to change game code, why not compile for Development Editor or the equivalent and then compile the server after you are finished? I’d expect building the server to take this long as it is rebuilding the server executable each time you compile.

Let me know if I’m misunderstanding your issue.

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day