Lighting build failed. Swarm failed to kick off

Hi,

I recently migrated level to the new project and started using 4.11 but whenever i try to build lighting it says swarm failed to kick off, i looked in the other threads about this but nothing helped…

[Interface:OpenChannel] Error: System.IO.IOException: The process cannot access the file ‘C:\Users\abbad\AppData\Local\UnrealEngine\4.11\Saved\Swarm\SwarmCache\AgentStagingArea\8487AD2E5DBA413C81373D29B2915895.F6B4EC044E3E91931EB2ADA058A565AC.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 i:\Perforce2\UE4-Orion\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.cs:line 1604

EDIT**

I tried to use my last project on 4.10 and its not working either, pls help cause im working on a game for 2 months now, cant just let it go…

I tried deleting swarm cache, i tried deleting saved from project, i uninstalled 4.11, but nothing helped

Hey Abb4don,

Be sure you are not behind a firewall as this can restrict access and allow your Swarm Agent to build lighting.

I would take a look at the Swarm Agent Troubleshooting Guide to see if there are some helpful tips in there as well. If you are stuck after reading through the guide and attempting a few solutions, let me know and we can continue to investigate.

Thanks,

Hey,

I fixed it yesterday by duplicating 4.10 project and migrating again, now it works like before.