How to update SwarmAgent.exe.config?

ahmad moradian
Tue, 19 Apr 2016 06:15:59 +0000
World Creation

I am using Unreal Engine 4.9. When I try to use the Build icon to calculate the lighting it appears a Fatal Error window which contains this message:

Could not create cache folder C:\Program Files\Unreal Engine 4.9\Unreal Engine 4.9.0 Improvable\Engine\Saved\Swarm/SwarmCache.
Please update SwarmAgent.exe.config in your binaries folder.

I just created the cache folder it the directory that I mentioned, but nothing happened except that the Fatal Error message did not come up.

Here I want to put the messages in the log tab of the Swarm Agent window:

1. [StartNewLogFile] Error: Access to the path ‘C:/Program Files/Unreal Engine 4.9/Unreal Engine 4.9.0 Improvable/Engine/Saved/Swarm\SwarmCache\Logs’ is denied.

2. Starting up SwarmAgent …

3. … registering SwarmAgent with remoting service

4. … registering SwarmAgent network channels

5. … initializing SwarmAgent

6. … checking certificate

7. … certificate check has failed

8. … initializing cache

9. [EnsureFolderExists] Error: System.UnauthorizedAccessException: Access to the path ‘C:/Program Files/Unreal Engine 4.9/Unreal Engine 4.9.0 Improvable/Engine/Saved/Swarm\SwarmCache’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at Agent.Agent.EnsureFolderExists(String Folder) in e:\Unreal Engine 4.9.0 Improvable\Engine\Source\Programs\UnrealSwarm\Agent\Utils.cs:line 727

10. ERROR: Could not create cache folder ‘’
Please update the SwarmAgent.exe.config file in your binaries folder.

11. … Failed to get the cache location!

Could you please help me to fix the problem?

Thank you.

8 posts - 5 participants