Light baking of a ton of static meshes causes Swarm to crash due to "Index was our of range".
I confirmed that it can be reproduced with the sample project they sent us/
The error log I got is...
[Interface:EndJobSpecification] Error: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Server stack trace: at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at Agent.AgentJob.EndJobSpecification() in d:\Projects\RenderingStream2\Engine\Source\Programs\UnrealSwarm\Agent\Jobs.cs:line 1076 at Agent.Agent.EndJobSpecification_1_0(Int32 ConnectionHandle, Hashtable InParameters, Hashtable& OutParameters) in d:\Projects\RenderingStream2\Engine\Source\Programs\UnrealSwarm\Agent\Jobs.cs:line 2066 at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at NSwarm.IAgentInterfaceWrapper.EndJobSpecificationDelegate.EndInvoke(Hashtable& OutParameters, IAsyncResult result) at NSwarm.IAgentInterfaceWrapper.EndJobSpecification(Int32 ConnectionHandle) in i:\Perforce2\UE4-ProjectCodeNameRedacted\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.cs:line 544 at NSwarm.FSwarmInterface.EndJobSpecification() in i:\Perforce2\UE4-ProjectCodeNameRedacted\Engine\Source\Editor\SwarmInterface\DotNET\SwarmInterface.cs:line 2242
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-71958 in the post.
0 |
Component | UE - Foundation - Cpp Tools |
---|---|
Affects Versions | 4.21 |
Created | Mar 25, 2019 |
---|---|
Resolved | Aug 27, 2021 |
Updated | Aug 27, 2021 |