Swarm Failed to kick off (File being used by another process)

I have tried pretty much everything the past two or three days and it’s getting pathetic now. i have tried all projects installed on my pc including epic games’ projects, my own, ive tried creating new stuff all over, there is only one swarm agent process running.

well it used to work it seems to have just randomly started doing this os i doubt it would be but ill try it anyway just incase, thanks

disabled my antivirus and it still does it, same with my firewall

Antivirus software perhaps?

Could you give us the log from the editor? (Window > Developer Tools > Output Log). Maybe there is something useful, cause right now we don’t have any idea what could be the reason.

Jarek the problem has somewhat sorted itself out now. When i upgraded to 4.5, i created a new level and it works now but when i try and build lighting in the old level it still happens. the problem was with swarm it was something about that specific “Job” the level im using now has a different file but when it tries to access that other file for the old level it still happens. so its some sort of bug in swarm

Still we cannot investigate further if you don’t provide us more details. Could you give us the full path of the non-working file, the log from the Output Log and log from UnrealSwarm when running the lighting building?

Im afraid all the UE4 logs are gone but i do have one swarm log left the bit where the error occurs is here:

[Job] Accepted Job 2CBEADBC-4DA01D2A-D9D96E8A-FC3D743A
[Interface:OpenChannel] Error: System.IO.IOException: The process cannot access the file ‘C:\Users\Kieran\AppData\Local\UnrealEngine\4.4\Saved\Swarm\SwarmCache\AgentStagingArea\A6630D7233BF47B3BBCF76BB4350A2B5.00000000000000000000000000000000.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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)
at NSwarm.FSwarmInterface.OpenChannel(String ChannelName, EChannelFlags ChannelFlags)

it also says throughout that it couldn’t ping the coordinator

If it is a level specific, are you doing it in your own code-project or maybe it’s content only or in some project we provide, like QAGame? Then you could send me the level and I’ll try to reproduce it.

Hi jarek i think the problem may have been to do with a bug in swarm that had a problem with a specific model. i had different project and i imported the model and it happened again, but i cannot seem to recreate the problem anymore because i deleted the asset and imported it sometime later and now it works. it may be to do with the fact that the model was one of a city and it was huge. it had millions of triangles i think and that could have caused swarm to have problems opening the job file and maybe the program logged the wrong error