Lighting not rebuilding. SWARM: "Error: A 32 bit processes cannot access modules of a 64 bit process."

Hey, I got a message when in the PIE that lighting needs to be rebuilt, I clicked on Build → Build Lighting Only, and after the Build Status box disappeared from the screen I launched again and noticed it still is giving me the message that lighting needs to be rebuilt. I opened up the swarm thing from the bottom right of the taskbar and this is the log:

3:22:57 PM: Starting up SwarmAgent ...
3:22:57 PM:  ... registering SwarmAgent with remoting service
3:22:57 PM:  ... registering SwarmAgent network channels
3:22:57 PM:  ... initializing SwarmAgent
3:22:57 PM:  ......... certificate check has failed
3:22:57 PM:  ...... initializing cache
3:22:57 PM:  ......... using cache folder 'C:/Users/Matt/AppData/Local/UnrealEngine/4.2/Saved/Swarm\SwarmCache'
3:22:57 PM:  ......... recreating SwarmAgent cache staging area
3:22:57 PM:  ...... initializing connection to SwarmCoordinator
3:22:57 PM:  ......... using SwarmCoordinator on RENDER-01
3:23:00 PM:  ......... SwarmCoordinator failed to be initialized
3:23:00 PM:  ...... initializing local performance monitoring subsystem
3:23:02 PM:  ... initialization successful, SwarmAgent now running
3:23:02 PM: [Interface:TryOpenConnection] Local connection established
3:23:02 PM: [Interface:OpenJob] Error: A 32 bit processes cannot access modules of a 64 bit process.

Anyone experienced this or knows a solution? I just the engine an hour ago and am already running into this issue :confused:

EDIT FOR MORE INFO:

Branch: Binary
Build version: 4.2.1-2101290+++depot+UE4-Releases+4.2
System: Windows 7 64-Bit. AMD FX 1600 (6 cores). 8GB RAM. GTX 650 (2GB VRAM).

There were “lighting building” messages on the bottom right when I was testing around projects earlier. In the FPS Blueprint template I was deleting the physics boxes that came with the default level, and I pressed Ctrl+Z to undo the deletions several times when the editor and engine crashed, and I submitted a crash report (Not sure if you can pull it up and see if this is related? There was this string in the msg: 38cd5001c824da7424b557ea6394ccd1 )

Uninstalled UE4, restarted, and reinstalled UE4. Issue still present.

The log above is when “Coordinator Remoting Host” = RENDER-01, I set it to my actual PC name “MATTHEW-PC” and the issue remains, but with this text instead.

8:56:20 PM: Starting up SwarmAgent ...
8:56:20 PM:  ... registering SwarmAgent with remoting service
8:56:20 PM:  ... registering SwarmAgent network channels
8:56:20 PM:  ... initializing SwarmAgent
8:56:20 PM:  ...... checking certificate
8:56:20 PM:  ......... certificate check has failed
8:56:20 PM:  ...... initializing cache
8:56:20 PM:  ......... using cache folder 'C:/Users/Matthew/AppData/Local/UnrealEngine/4.2/Saved/Swarm\SwarmCache'
8:56:20 PM:  ......... recreating SwarmAgent cache staging area
8:56:20 PM:  ...... initializing connection to SwarmCoordinator
8:56:20 PM:  ......... using SwarmCoordinator on MATTHEW-PC
8:56:28 PM: [Ping] Communication with the coordinator failed, job distribution will be disabled until the connection is established
8:56:28 PM:  ......... SwarmCoordinator failed to be initialized
8:56:28 PM:  ...... initializing local performance monitoring subsystem
8:56:30 PM:  ... initialization successful, SwarmAgent now running
8:56:30 PM: [Interface:TryOpenConnection] Local connection established
8:56:30 PM: [Interface:OpenJob] Error: A 32 bit processes cannot access modules of a 64 bit process.

I’ve attempted to enable Standalone mode in Swarmagent, did not fix anything, so I set it back to false.

I opened up SwarmCoordinator.exe myself and got everything connected and what-not, but the 32 bit error still shows up.

Hi MattCan -

Thank you for your report. I will begin investigation into this issue as soon as possible. If I am unable to reproduce the problem, or I need more information, I or another staff member will follow up with some additional questions for you. Otherwise, I will post an ‘Answer’ once I have logged the issue in our bug database or we have a solution for it.

In the meantime, please be sure to review our suggestions for how to report a bug, and feel free to edit your post if you have additional information to provide:

Thank you.

Eric Ketchum

Hi MattCan -

Originally are you trying to setup a Networked Swarm setup? And if so what originally are you using as your host PC for the Coordinator? Normally you should not need to set this up at all if you are building only using one PC. Agent will always attempt to start Coordinator to see if their is a rendering network, but that should not keep you from building lights on a single machine which it will default back to if no network is found.

Let me know -

Eric Ketchum

I wasn’t trying to set up networking or coordinator hosting, I just clicked build lighting only in the editor and it outputted the first log above and that error.

Any updates? Still have not been able to build lightning since I purchased the license and have been tirelessly looking for a solution.

Hi MattCan -

I have gleamed a little bit of information on what might be the problem with your Swarm Agent. To test this however, I want to make sure you have an absolutely clean no changes made to build of the engine. So, completely uninstall the engine (this should not remove your projects at all) and re-install from the Launcher Download.

Now, run Windows Update specifically looking for any Microsoft NET Framework updates and install them if any are found. Please make sure that the engine is installed before you run this update.

Test your Lighting Building Again on a new sample game type.

Thank you for your patience as we look into this issue and Let me know -

Eric Ketchum

This is what I attempted to do yesterday however I get it all working but still get that 32 bit process error that’s not letting it continue any further.

HI MattCan -

What version of Microsoft dotNet Framework do you have installed on your computer?

Thank You

Eric Ketchum

.NET framework 4.5

Hey MattCan -

Can you go into your C:/Program Files/Unreal Engine/Binaries/DotNET/ folder and zip all those files up (I do not need the sub-directories) and send them to me?

Thank You

Eric Ketchum

Filesize is larger than what I can attach to this so here is a Dropbox link:

Hey MattCan -

Are you running any firewalls or antivirus programs? If so, could you try to go in and add an exception for SwarmAgent.exe. Also ensure that you are running the engine with administrative privileges on your PC.

Running avast, disabled it and right clicked on the ue4 editor and ran as admin, same error.

Hey Eric, the issue seems really obscure. I’ve reinstalled Windows and no longer encounter this issue on a fresh install of Windows.

Hi MattCan -

I am sorry you had to re-install Windows. We have tracked the issue down to an error in your NET Framework, which would have required a complete uninstall and re-install of that Framework, but we are still unsure of exactly what caused it.

Let us know if the problem returns -

Eric Ketchum

Same here

Purchased the engine and got the same issue, spending my afternoon on it, not fixed yet. It will be nice to know what version of the framework do I need cause It doesn’t work with the 4.5.1 / 4.5.2 / 4.5 , no problem with the Unreal 3 SwarmAgent. The reinstallation of these framwork version does nothing for the moment.

Hi benox50 -

You are getting the same “Error: A 32 bit processes cannot access modules of a 64 bit process.” message? If you have tried the updated framework, it might be a problem within the registry files or possibly a conflicting program like a Virus / Firewall program?

Thank You

Eric Ketchum

Yes, this one ‘‘Error: A 32 bit processes cannot access modules of a 64 bit process’’ , what version of the framework UE4 need ? The UE3 give you an installation of the framework 4.0, so at least I know the version it use. Now I only have the 4.5 installed on my PC, without it, the SwarmAgent just crash.

-Tried the firewall, but no
-Tried the Framework cleanup tool and reinstalling Framework ver 4.5, this can be it, but no
-Tried to revert from my registry of 2012, because I used Ccleaner and I was thinking that this may have changed the registry of the framework, good try, but no
-Tried to reinstall wind… well, not now :X
-Tried to use the SwarmAgent from UE3 with some files replacement, this was a desperate try and of course it doesn’t work, of course I reinstalled UE4 after that
-I was thinking of talking about that problem when I was buying some food, because the cashier tell me why I look grumpy today, but hey ! I dont think that would have worked too :stuck_out_tongue:

Hey benox50 -

Can you let me know what version of the editor you are using? Also can you take a screenshot of your Swarm Agent Settings (Tab) panel and upload? (You should be able to open the Swarm Agent from \Unreal Engine\Engine\Binaries\DotNet\SwarmAgent.exe) If you cannot open this exe let me know that as well.

Thank You

Eric Ketchum