Download

Swarm agent not working

I’m trying to bake the light of my scene but the swarm agent is allways getting stuck at 70%, on the log i get this:

02:06:55: Starting up SwarmAgent …
02:06:55: … registering SwarmAgent with remoting service
02:06:55: … registering SwarmAgent network channels
02:06:55: … initializing SwarmAgent
02:06:55: … certificate check has failed
02:06:55: … initializing cache
02:06:55: … using cache folder ‘C:/swarmcache’
02:06:55: … recreating SwarmAgent cache staging area
02:06:55: … initializing connection to SwarmCoordinator
02:06:55: … using SwarmCoordinator on RENDER-01
02:06:57: … SwarmCoordinator failed to be initialized
02:06:57: … initializing local performance monitoring subsystem
02:06:57: … initialization successful, SwarmAgent now running
02:06:57: [Interface:TryOpenConnection] Local connection established
02:06:57: [Job] Accepted Job A1F80BDE-45FB1D4B-CE6D5C8C-99203BCB
02:07:17: [Interface:OpenChannel] Error: System.IO.IOException: The process cannot access the file ‘C:\swarmcache\AgentStagingArea\8487AD2E5DBA413C81373D29B2915895.25C261E544319B7D3D2EAFB0A8192CAB.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

But I don’t have a clue about how to fix it, any ideas?

Check your assets’ names. This problem is caused by name collision, which is often resulted from copying assets files directly from other projects instead of using ‘migrate’ in UE4.

Ok, I kind of not understand where do I find this names, but I think that I found a way to make it work but now I have another problem wih it.

The swarm stuck on .35% and I think that it was after this error:

04:46:22: LogWindows:Error: Windows GetLastError: The operation completed successfully. (0)
04:46:22: Windows GetLastError: The operation completed successfully. (0

It’s like about 8 hours rendering.