Swarm Agent problem - UE 4.8p3

Remotes Agents can connect to the coordinator but not the local one…

I can Build lights without issues in Editor.

But if I try to make a Network Build, The local Agent can’t connect to the SwarmCoordinator with SwarmAgent 1.7.2892.0 (UE4.8)

I have 2 computers

  • Computer 1 (where Editor is installed and Coordinator is launched) : The agent can’t connect to the coordinator
  • Computer 2 (With a copy of the DotNet folder containing the Agent) : The agent can connect to the coordinator without issue.

If I replace the SwarmAgent.exe 1.7.2892.0 (UE4.8) by 1.7.2891.0 (UE4.7.x), It can connect to the coordinator. I haven’t try yet to Build Light in this configuration.

What changes have been made on Agents in 4.8 (I see two news files : ‘SwarmcommonUtils.pdb and .dll’) ? Can I continue tu use the Agent 1.7.2891 with Unreal 4.8 or I will have some problems?

Thanks by advance for your answers.

Metathesus

Hi!

Some precisions, I have seen in Github that the “Common Utils” files are used in case of multi network adaptaters to manage multiple IP

I have 5 adaptaters :

  • Ethernet Intel (Connected)
  • Wifi Qualcomm (Disabled)
  • 1 virtual TAP V9 from OpenVPN / HMA VPN (Disconnected)
  • 2 virtuals VMware Network Adaptaters (Disabled)

Hi Metathesus -

There does seem to be an issue with the PC hosting the coordinator not being used as an agent itself. I have been able to reproduce this issue internally and have reported it to our engineers, UE-16133 for reference. I will keep you informed as we investigate a solution.

Thank You

Eric Ketchum

Thanks for your report!

Hey Metathesus,

first of all Swarm implementation is pretty separate. IIRC the interface hasn’t changed, so you can use 4.7 one if it suits you (if you don’t require any fixes that were introduced in 4.8). In the meantime we definitely would like to fix the regression, but we still have problems reproducing it.

Could you send us a little bit more data?

It would be awesome if you could send:

  1. SwarmAgent logs from both machines. They can be found in SwarmCache/Logs, where SwarmCache can be found from agent settings.
  2. Screen shots of SwarmCoordinator when all agents are connected.
  3. SwarmAgent config files from both machines. They can be found in DotNET folder and are called “SwarmAgent.Options.xml” and “SwarmAgent.DeveloperOptions.xml”.

They shouldn’t contain any secrets, but if you worry, please review and edit them if needed before sending.

Thanks,

Jarek

Hello Jarek,
I have left the default log verbosity in the agents. Is it OK?

LOGS AND SCREENS

Thanks Metathesus for all resources! They’ve helped a lot in identifying the problem.

I think I’ve found it. It looks like since 4.8 UnrealSwarm had problems with identifing that coordinator address is local machine’s address if it wasn’t a loopback. It should be fixed in the 4.8 final release.

You can easily workaround it and verify if that was also your problem. To do it use “127.0.0.1” instead of “192.168.1.10” in your Agent’s settings on Computer 1. Also if you have source version of the Engine you can merge the fix, which can be found here and keep current settings intact.

Jarek

I have made the changes!

Now, everything is OK!

Thank you for all your works!