No announcement yet.

Swarm Agent crash [possible solution]

  • Filter
  • Time
  • Show
Clear All
new posts

    Swarm Agent crash [possible solution]

    [Sorry if this is the wrong forum for this post]

    Sorry if this has been reported earlier (I couldn't find any relevant thread after a lot of searching), but I was unable to use Lightmass in my levels since the January beta.

    This has nothing to do with SpeedTree. If I open the template Morning/Afternoon/Night lighting scene and try to build it with Lightmass enabled, the Swarm Agent will crash.

    I tried to find the issue and here's the cause:

    Application: SwarmAgent.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.ArgumentException
    at System.Drawing.Font.CreateNativeFont()
    at System.Drawing.Font.Initialize(System.Drawing.Font Family, Single, System.Drawing.FontStyle, System.Drawing.GraphicsUnit, Byte, Boolean)
    at System.Drawing.Font..ctor(System.String, Single)
    at UnrealControls.OutputWindowView.InitializeComponen t()
    at UnrealControls.OutputWindowView..ctor()
    at Agent.SwarmAgentWindow.InitializeComponent()
    at Agent.SwarmAgentWindow..ctor()
    at Agent.AgentApplication.ProcessGUIThreadProc()
    at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threa ding.ExecutionContext, System.Threading.ContextCallback, System.Object)
    at System.Threading.ThreadHelper.ThreadStart()

    Attaching a debugger showed me the exact error : "The font Courier New does not support the style 'Regular'".

    Apparently, my Courier New font had gotten corrupted somehow. I found this:

    I downloaded cour.tff and replaced my existing font. That fixed it for me. If someone has the same issue, this might help!