SwarmAgent only works if opened manually

Hi,
In UE 4.1 Swarm Agent just work if i open it manually . If it’s opened by Unreal Editor when i push the Build button it open the process but doesn’t work ( keep in the starting connection screen as 100% forever).
Any tips about it?

Any tips about it? I’m still having this issue.

Hi ,

Just to be clear, can you walk me through the steps you are taking that cause the swarm agent to not work properly? Thank you!

I open the Unreal Editor, click in Build Light, it opens the Swarm Agent process in the background and in the Windows System Tray, but Unreal Engine freeze in the 100% connection screen and don’t start the bake process like this

If i kill the swarm agent process with the Task Manager i get this message and the Unreal Engine come back to work

It start to happening after install Unreal 4.1, with 4.02 was nice but now i can’t use any version that i get this problem.

A workaround that i found is open the swarm agent manually in the root (C:/program files… Unreal Engine/ 4.1/…/DotNet/ SwarmAgent.exe). When i did it before click in the “build button” in Unreal Editor it works nicely. The problem just happen when Unreal Engine start swarmagent automatically by itself.

Hi ,

Does this occur on a clean project with no additional content?

Yes, in a new blank project it happens too

Hi ,

Have you tried repairing or re-installing the editor? It sounds to me that Swarm Agent and EU4 just aren’t interacting correctly from the start.

Do you use any personal firewall that may block network communication between the Editor and SwarmAgent?

I have not re-installed the editor yet, i can try it

I only use the windows firewall, but even disabling it i got the same error ( and don’t make to much sense it works when i open it manually if it’s a problem of firewall block )

When the Editor tries to open SwarmAgent, is there already an instance running? Please check in TaskManager and make sure there is only one instance of SwarmAgent at a time.

When the Editor tries to open SwarmAgent it only open one instance and i need to close it to Ureal Editor come back to work ( with a error message as i posted above ). A new thing that i saw now is that when i open it i can get a “exit” option clicking with the rigth button the the SysTray but when the Editor open it i can’t get any option it looks .

I uninstall Unreal 4.0.2, Unreal 4.1.0, cleanup the register with Ccleaner and install only Unreal 4.1.1… and i got the same error.
Tried to disable the anti virus and the windows firewall and… got the same.

Another detail when i open it manually the SwarmAgent process get 30kb in memory, but when Unreal Editor open it, it gets 40kb.

Hi ,

Are you still having this issue after the 4.2.1 release?

Hi vBailbio,

We haven’t heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information.

Thanks, TJ

Hi, sorry for the delay, i have not tested it for UE 4.2 cause i cancel the subscription for now since i’m in vacation. For UE 4.1 i was having this problem yet. Thanks for the reply and attention.

I would first try updating whenever you get the opportunity, but if that doesn’t fix it I believe we found another user with a similar issue. Unfortunately his issue was with the .NET Framework on his system and after trying several different options he had to re-install Windows to finally fix it. But it will at least give you some more options to try.

Back from vacation… I update UE for 4.4.0 version and got the same error. Open Swarm manually is not that hard, probably re-install Windows is the best but as it is not feasible today i will keep it as it is now. Thanks for all support.