Swarm Agent does not work on OSX

When I run “mono SwarmAgent.exe” I get:

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly ‘System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies.
File name: ‘System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies.
File name: ‘System.Deployment, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’

“mono SwarmCoordinator.exe” works OK and I was able to connect to it, but as I understood Agent must work too to distribute load. Is not it?

Hi Ton,

Is lighting not building at all for you project or is it that you cannot open the Swarm Agent application on Mac?

If it’s the latter, Swarm Agent is not setup so that it can run as a standalone application on Mac. This may the issue you’re seeing when you try to open it.

-Tim

Everything works OK on MAC, except distributed building with Swarm which I need.

Ok. So it’s just that it can’t connect to Swarm Coordinator…hmmm. I’ll have to research that one a bit because I’ve only used it on Windows where you can access the Swarm Agent settings via the GUI. I’ll see what I can find and get back to you, I’m just not 100% sure that is possible without having access to the GUI to setup coordinator to talk to swarm agent.

Thanks for your patience and this will be good for me to add to my Swarm Agent Guide on the Wiki since there isn’t a lot of documentation out there on Swarm Agent/Coordinator at the moment and this question hasn’t really come up before that I’ve been aware of for Mac.

Thanks for the patience.

At the moment this isn’t possible with how SwarmAgent and Coordinator are written.

In order for this to happen there are a couple of things that have to be done before it can be used on Mac and it’s something that the engineers want to get around to, it just not a huge priority at the moment. So in order for Swarm to work, we would still need to finish porting over Swarm to C++ and Slate, along with getting the UdpMessaging transport plug-in need to be re-written.

-Tim

Do you have ticket/issue for this problem?

There is now. :slight_smile:

This has been on the internal backlog for some of the engineers for 3 years at this point. There’s always a lot of passion that comes up when it’s discussed, but just finding the time and prioritizing it is the problem that always gets in the way. Throw a vote down and recommend anyone else interested as well. We do keep check on the interest in these types of features and if there is a large enough interest that can definitely have some sway in the order of priority.