Similar to this problem (in fact, the logs are identical);
Just moved over from UDK, where Swarm Agent worked, but If I re-call, I had to run UDK in 32-bit mode in order for it to work with Swarm Agent (I can’t remember, UDK is still on my machine so If there’s anything I need to check there, I can.) My machine is 64-bit however.
Here’s the SwarmAgent logs;
2:28:13 PM: Starting up SwarmAgent ...
2:28:13 PM: ... registering SwarmAgent with remoting service
2:28:13 PM: ... registering SwarmAgent network channels
2:28:14 PM: ... initializing SwarmAgent
2:28:14 PM: ......... certificate check has failed
2:28:14 PM: ...... initializing cache
2:28:14 PM: ......... using cache folder 'C:/Users/Mark/AppData/Local/UnrealEngine/4.5/Saved/Swarm\SwarmCache'
2:28:14 PM: ......... recreating SwarmAgent cache staging area
2:28:14 PM: ...... initializing connection to SwarmCoordinator
2:28:14 PM: ......... using SwarmCoordinator on RENDER-01
2:28:17 PM: ......... SwarmCoordinator failed to be initialized
2:28:17 PM: ...... initializing local performance monitoring subsystem
2:28:19 PM: ... initialization successful, SwarmAgent now running
2:28:25 PM: [Interface:TryOpenConnection] Local connection established
2:28:25 PM: [Interface:OpenJob] Error: A 32 bit processes cannot access modules of a 64 bit process.
It’s a clean install of UE4, I only installed it yesterday and have begun working on a quick project to test it out, and thus this has occurred.
Any help would be appreciated, I’m at a real loss what to do here!
Edit: Just providing some more information to see If it can help.
Lets start with the most probably cause which is an error in the Swarm Agent’s setup and or the DotNET setup. To clear up any possibly confusion make sure that the Swarm Agent from UDK is not started, not in the StartUp folder and not assigned to any Coordinator. Preferably uninstalled. Next you will want to do a clean install of the DotNET Framework. Here is the Microsoft website on how to do that, Microsoft .NET Framework Repair Tool is available
After you uninstall and then reinstall the latest version of DotNET, try building lighting again and let me know the outcome.
2 - If that doesn’t work you may also want to try deleting (or making - both have worked for different users) teh Swarm Cache folder which is in the \Unreal Engine\4.5\Engine\Binaries\DotNET\Swarmcache
I am talking with some of our engineers now to try to debug this issue.
I didn’t have a Swarmcache folder, so have created one.
Still getting this error;
1:28:31 PM: [Connection] Detected new local connection from same process ID as an existing one, closing the old one
1:28:31 PM: [CloseConnection] Closing connection 107B7ED5 using handle 107B7ED5
1:28:31 PM: [CloseConnection] Connection confirmed for disconnection 107B7ED5
1:28:31 PM: [CloseConnection] Closing orphaned Job ()
1:28:31 PM: [CloseConnection] Connection disconnected 107B7ED5
1:28:31 PM: [Interface:TryOpenConnection] Local connection established
1:28:31 PM: [GetMessage] Safely returning to 107B7ED5 with no message
1:28:32 PM: [Interface:OpenJob] Error: A 32 bit processes cannot access modules of a 64 bit process.
1:28:32 PM: [MaintainConnections] Local connection has closed (107B7ED5)
1:28:32 PM: [MaintainConnections] Removed connection 107B7ED5
My apologizes for not getting back to you sooner. Let me run through a few different options to try to get you back up and running again. Try each of these separately and in order and please if you still have an issue or you find a particular step helped you fix it let me know -
1 - Go to your Swarm Cache Folder Location (there are possible two) and delete them:
we’ll definitely fix it, but for now we can’t reproduce it as it happens in some special circumstances for just a few users.
The exception definitely is catched here UE4\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.cs in line Log(EVerbosityLevel.Critical, ELogColour.Red, "[Interface:OpenJob] Error: " + Ex.Message);. It would be great if you could change this line to Log(EVerbosityLevel.Critical, ELogColour.Red, "[Interface:OpenJob] Error: " + Ex.Message + "\n" + Ex.StackTrace);, rebuild the UE4\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.sln solution and resend the log after reproducing the bug. This will tell us more.