10/15/2021 1:00:41 PM 3.709 SINGLEP CalculateCurrentSpeedLimit_SimpleNPCAIStyle exception at debugStage 20, exception: System.InvalidCastException: Specified cast is not valid. at Arcen.AIW2.Core.SpeedGroup.CalculateCurrentSpeedLimit_SimpleNPCAIStyle () [0x0004c] in <81e7d88b38724d858317997ef6dc3cc8>:0 at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in :0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in :0 at Arcen.AIW2.Core.SpeedGroup.CalculateCurrentSpeedLimit_SimpleNPCAIStyle () [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.Core.SpeedGroup.CalculateUnitSpeedLimits_HostOnly () [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.External.GameCommand_CreateSpeedGroup.Execute (Arcen.AIW2.Core.GameCommand command, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore context) [0x00000] in :0 at Arcen.AIW2.Core.GameCommand.Execute (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.Core.World_AIW2.OnClient_ExecuteGameCommandsReceivedFromServer (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.External.SimPlannerImplementation.ProcessCoreLogicForArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.Boolean& mayUpdateVisuals, System.String& reasonForNoVisualUpdates) [0x00000] in :0 at Arcen.AIW2.Core.Engine_AIW2.ProcessArbitraryFrameOnMainThread (System.Boolean& stalledWaitingOnConnections, System.String& reasonForNoVisualUpdates) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in :0 at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 at ArcenGameController.Update () [0x00000] in :0 10/15/2021 1:00:42 PM 3.709 SINGLEP DELAYED5: Error in thread for execution context 'executionContext' InvalidCastException Specified cast is not valid. ===STACK FRAMES (with file info)=== FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER CheckForDestruction_HostOnly 70 242 0 0 DoSpeedGroupLogic_HostOnly 48 154 0 0 b__3 58 194 0 0 DoForFactions 18 83 0 0 DoWorldSecondLogic_FromSimBGThread 178 1114 0 0 DoWorld_Second_PerSecondLogic 101 386 0 0 DoWorldStepLogic_ClientOrHost_FromSimBGThread 169 466 0 0 Execute 230 650 0 0 ===RAW STACK TRACE=== at Arcen.AIW2.Core.SpeedGroup.CheckForDestruction_HostOnly () [0x00046] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.Core.Faction.DoSpeedGroupLogic_HostOnly () [0x00030] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass67_0.b__3 (Arcen.AIW2.Core.Faction faction) [0x0003a] in :0 at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <81e7d88b38724d858317997ef6dc3cc8>:0 at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000b2] in :0 at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorld_Second_PerSecondLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00065] in :0 at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x000a9] in :0 at Arcen.AIW2.External.SimExecution.Execute () [0x000e6] in :0 at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in :0 at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in :0 at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in :0 at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in :0 at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in :0 at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in :0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0