x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Swarm Agent Freeze on Build Start

Hello, New to everything Unreal. I have a simple level built; A small roofless room in the default skybox. Whenever I hit Build I get a window like the one in this image.Image One

No matter how long I leave this running, doing nothing else on the PC, nothing changes. Same error message all day. When I finally figured out how to open the Swarm Agent, I was presented with this image.Image Two

It opens with those Green lines of text, then constantly repeats the same series of Orange text. I have checked my System tray for more Swarm Agents, checked my Task Manager for instances of Unreal Lightmass or Swarm Agent or Swarm Connection, deleted everything in the Cashe folder for Swarm Agent, and tried to "Clean and Validate" SA. I even went so far as to reinstall Windows 8.1 and UE7 and rebuild with my project, the starter templates, AND the downloadable projects, Still nothing.

Anything else you need from me just let me know.

Product Version: UE 4.7
Tags:
more ▼

asked Jun 08 '15 at 10:03 AM in Rendering

avatar image

Mii753
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Mii753,

unfortunately I just looked into the Swarm code and this error message is terribly misleading, as it raises this error if anything wrong happens during registration of a channel. The "channel already registered" is only one of the reasons it may fail.

I'll fix that for future versions, but to diagnose and fix your problem we could fix your copy and find out what's wrong (cause something is wrong for sure).

Do you have, or could get a source version of the engine? At least the UE4/Engine/Source/Programs/UnrealSwarm would be required. If you do, then please change lines:

 catch (Exception)
 {
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] Channel already registered, suggesting another SwarmAgent or client is running.");
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] If you feel this is in error, check your running process list for additional copies of");
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] SwarmAgent or UnrealLightmass (or other client) and consider killing them.");
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] Sleeping for a few seconds and trying again...");
     Thread.Sleep(3000);
 }

in AgentApplication.cs file, to:

 catch (RemotingException)
 {
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] Channel already registered, suggesting another SwarmAgent or client is running.");
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] If you feel this is in error, check your running process list for additional copies of");
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] SwarmAgent or UnrealLightmass (or other client) and consider killing them.");
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, "[ERROR] Sleeping for a few seconds and trying again...");
     Thread.Sleep(3000);
 }
 catch (Exception Ex)
 {
     AgentApplication.Log(EVerbosityLevel.Informative, ELogColour.Orange, string.Format("[ERROR] Channel registration failed. Reason: {0}\n, Callstack: {1}.", Ex.Message, Ex.StackTrace));
     Thread.Sleep(3000);
 }

Then please, rebuild and use the new Swarm and get back to me with the log it produces.

Thanks,

Jarek

more ▼

answered Jun 08 '15 at 11:16 AM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question