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"

Lighting build failed. Swarm failed to kick off.

Hi there,

For weeks I have been adding to my project without being able to build because of this problem. I've tried a lot of things:

  • Checking firewall

  • Moving all my assets to a fresh new level

  • Deleting partial sections of my level

  • Making sure only once instance of swarm agent is running

And none of these have fixed my problem. My level just refuses to build lighting. I came across a post on this answerhub to manually open up the Swarm Agent and I got these red errors in the log:

00:50:30: [Interface:TryOpenConnection] Local connection established 00:50:31: [Job] Accepted Job F5541BFD-4B1F2976-E50A209A-B4EE9601 00:50:46: [Interface:OpenChannel] Error: System.IO.IOException: The process cannot access the file 'C:\Program Files (x86)\Epic Games\4.9\Engine\Binaries\DotNET\SwarmCache\AgentStagingArea\8487AD2E5DBA413C81373D29B2915895.5E644B1040EA0DFAB078F69FB3B2A393.mtrlgz' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at NSwarm.FSwarmInterface.OpenChannel(String ChannelName, EChannelFlags ChannelFlags) in D:\Perforce\Epic\UE4\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.cs:line 1590

None of this makes sense to me but maybe to someone else it does? Would really love a fix. Thank you :)

Product Version: UE 4.9
Tags:
more ▼

asked Feb 28 '16 at 12:55 AM in Using UE4

avatar image

ZAhmad
30 4 10 12

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

1 answer: sort voted first
  1. Delete contents of the SwarmCache

  2. Check if you have more than one asset with the same name

  3. Try removing lighting/reflection volumes and re-adding it one at a time

  4. If you are using source version try rebuilding Swarm

If all those fail, make a new, blank level and check if it builds, if so, move your assets one by one and see which one is the cause.

more ▼

answered Feb 28 '16 at 03:14 AM

avatar image

phoboz
1k 38 13 61

(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