I noticed in the error log of Swarm that it was having issues to find LightMass.exe,
if you are having the same issue, and you are building the engine from sources, go to VisualStudio and under UE4/5, check Lightmass and build that project.
Problem solved for me!