View Issue Details

IDProjectCategoryLast Update
0026439AI War 2Crash/ExceptionFeb 24, 2022 10:15 am
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.805 Bolstering Spire 
Fixed in VersionBeta 3.903 Multiplayer Polish 
Summary0026439: MP errors 3.805
Description2/18/2022 11:01:08 AM 3.805 CLIENT DELAYED92 TID15 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:09 AM 3.805 CLIENT DELAYED93 TID45 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:10 AM 3.805 CLIENT DELAYED94 TID20 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:11 AM 3.805 CLIENT DELAYED95 TID44 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:12 AM 3.805 CLIENT DELAYED96 TID88 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:13 AM 3.805 CLIENT DELAYED97 TID47 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:14 AM 3.805 CLIENT DELAYED98 TID13 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:01:15 AM 3.805 CLIENT DELAYED99 TID80 Exception in MovementPlanning.Execute:System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.MovementPlanning.PlanMovementForEntity_Squad_Multithreaded (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00021] in <de4088d3c9a742f4aca0190223447dda>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0004d] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntityCollection.cs:821
  at Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0002a] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Mapping/Planet.cs:2903
  at Arcen.AIW2.External.MovementPlanning.<Execute>m__0 (Arcen.AIW2.Core.Planet planet) [0x0008b] in <de4088d3c9a742f4aca0190223447dda>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00044] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Mapping/Galaxy.cs:307
  at Arcen.AIW2.Core.World_AIW2.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x0001f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/World_AIW2.cs:4331

And then a few more of the "squad still in a PlanetFaction list" errors over time.

I let the game run for 3 hours and it's still running fine
TagsNo tags attached.

Relationships

related to 0026438 resolvedChris_McElligottPark Instigators on MP client has issues 
related to 0026397 resolvedChris_McElligottPark MP error: Whenever the human empire would claim a new flagship/Ark, it would vanish from the client. Reconnecting made the flags 
related to 0026453 assignedChris_McElligottPark Errors MP 3.806 

Activities

BadgerBadger

Feb 18, 2022 1:25 pm

manager   ~0064585

Last edited: Feb 18, 2022 1:32 pm

2/18/2022 11:11:10 AM 3.805 HOST DELAYED39 TID12 Exception in DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim_HostOnly for faction Scourge(Index 4), so will not run any more of those until a reload of the save.
System.Exception: Called ToString() method on ExternalSquadBaseInfo 465781 -- BurlustWarrior -- Scourge
  at Arcen.AIW2.Core.ExternalSquadBaseInfo.ToString () [0x00011] in <35872fc514894d9f8cc982e7c09025d8>:0
  at Arcen.AIW2.External.ScourgeFactionDeepInfo.updateExperienceAndMetal (Arcen.AIW2.Core.GameEntity_Squad entity, Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x000a7] in <54a2c53086ac49cdb69a959ff1fe3201>:0
  at Arcen.AIW2.External.ScourgeFactionDeepInfo+<>c__DisplayClass7_0.<DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim_HostOnly>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00013] in <54a2c53086ac49cdb69a959ff1fe3201>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x0004d] in <35872fc514894d9f8cc982e7c09025d8>:0
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00033] in <35872fc514894d9f8cc982e7c09025d8>:0
  at Arcen.AIW2.External.ScourgeFactionDeepInfo.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim_HostOnly (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00418] in <54a2c53086ac49cdb69a959ff1fe3201>:0
  at Arcen.AIW2.Core.Faction.Safe_DeepInfo_DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim_HostOnly (Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x0007e] in <35872fc514894d9f8cc982e7c09025d8>:0

This error was hit during an exception throw, where we got an apparently garbled PerUnitData, with some fields initialized but others not initialized. It looks like the ToString() method was removed from the ScourgePerUnitBaseInfo

BadgerBadger

Feb 18, 2022 1:28 pm

manager   ~0064586

Last edited: Feb 18, 2022 1:32 pm

After about 3 and a half hours I hit a giant string of client errors which made the game unplayable.
2/18/2022 11:24:28 AM 3.805 CLIENT DELAYED231 TID136 Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED232 TID15 Canary code exception at second ('' instead of '2'). Code above it is the real problem. Exception: System.Exception: Could not read string 'second', but did get this partial one: 't6d0=2?0n_ie/ST??r?YD9?Yp?'.
Was for field with name: 'second' Exception: System.Exception: Tried to read condensed string format index 111 which is >= the length of 109 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1123
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (Arcen.Universal.SerMetaData MetaData, System.String FieldNameForErrors) [0x00111] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:753
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (Arcen.Universal.SerMetaData MetaData, System.String FieldNameForErrors) [0x0027e] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:775
  at Arcen.Universal.ArcenDeserializationBufferModern.ValidateCanary (System.String ExpectedCanaryString, System.String CanaryFieldName, Arcen.Universal.SerializationCommandType SerializationType) [0x00046] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:700
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED233 TID15 Canary code exception at third ('' instead of '3'). Code above it is the real problem. Exception: System.Exception: Could not read string 'third', but did get this partial one: '0?O@?U?V“.2???7?'.
Was for field with name: 'third' Exception: System.Exception: Tried to read condensed string format index 112 which is >= the length of 109 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1123
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (Arcen.Universal.SerMetaData MetaData, System.String FieldNameForErrors) [0x00111] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:753
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (Arcen.Universal.SerMetaData MetaData, System.String FieldNameForErrors) [0x0027e] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:775
  at Arcen.Universal.ArcenDeserializationBufferModern.ValidateCanary (System.String ExpectedCanaryString, System.String CanaryFieldName, Arcen.Universal.SerializationCommandType SerializationType) [0x00046] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:700
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED234 TID15 Canary code mismatch at fourth ('' instead of '4'). Code above it is the real problem.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED235 TID15 Canary code exception at EntityCanarySys ('' instead of 'S'). Code above it is the real problem. Exception: System.Exception: Could not read string 'EntityCanarySys', but did get this partial one: ''.



2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED236 TID15 GameEntity_Squad deserialization error at stage 10000 from serialized version 3.805 loading into new version 3.805, error: System.Exception: Error: DeserializeByIndex nameIndex of 141 larger than IndexSerializationInfo.SerializedNamesList.Count of 89 on ArcenNonTableUniqueStringList: Arcen.AIW2.Core.EntitySystemTypeDataTable PlaceOfDeserializationForDebugging: EntitySystemDeser From Version: 3.805
  at Arcen.Universal.ArcenNonTableUniqueStringList.DeserializeByIndex (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00155] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenExternalDefinitionFramework/ArcenNonTableUniqueStringList.cs:86
  at Arcen.Universal.ArcenNonTableUniqueStringList.DeserializeByIndex (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00008] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenExternalDefinitionFramework/ArcenNonTableUniqueStringList.cs:52
  at Arcen.AIW2.Core.EntitySystem.DeserializeInto (Arcen.Universal.SerMetaData MetaData, Arcen.AIW2.Core.EntitySystem& resultOrNull, System.Boolean& PleaseDestroy, Arcen.AIW2.Core.GameEntity_Squad ParentEntity, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean& WasAbleToFindType) [0x00028] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntitySystem.cs:276
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (Arcen.Universal.SerMetaData MetaData, System.Int32 primaryKeyID, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet NewPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean HideErrors, System.Boolean IsLoadingTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.AIW2.Core.PlanetFaction NewPlanetFaction) [0x00b9f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:1957
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED237 TID15 Skipping read of canary 'PreExternal' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED238 TID15 Skipping read of canary 'PostExternal' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED239 TID15 Theseus failure: numberOfMainDeserializations: 1 numberOfExternalDeserializations: 1 numberOfCanary6Fails: 1 numberOfCanary6Successes: 0 lastExternalUnitTypeData AstroTrainsPerDepotBaseInfo
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED240 TID15 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED241 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED242 TID15 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED243 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED244 TID15 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED245 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.



2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED364 TID15 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED365 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED366 TID15 Skipping read of canary 'CanaryCode' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED367 TID15 Faction deserialization error at stage 14200 from serialized version 3.805 loading into new version 3.805, error: System.Exception: Tried to read more bits from a deserialization buffer than we had! Requested byte index to pull bit from was 1237, but the number of bytes in this buffer was only 1237 (Chunk Index was 0 out of 1 chunks)
  at Arcen.Universal.ArcenDeserializationBufferModern.GetNextBit () [0x0018d] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1174
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelper32 (Arcen.Universal.ReadStyle RStyle) [0x00090] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1054
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadInt32 (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ReadStyle RStyle, System.String FieldNameForErrors) [0x000d2] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:287
  at Arcen.AIW2.Core.VassalMission.DeserializeFrom (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0019e] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/WorldExtras/VassalMission.cs:284
  at Arcen.AIW2.Core.VassalMission.Create (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0000f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/WorldExtras/VassalMission.cs:216
  at Arcen.AIW2.Core.Faction.DeserializeFactionIntoSelf (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.AIW2.Core.ConfigurationForFaction Config, System.Boolean IsLoadingForTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType) [0x009ab] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Faction/Faction.cs:1053
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED368 TID15 Error in Client_AcceptUltraFrequentSyncDataThatJustOverrides, debugStage 700: System.Exception: Tried to read more bits from a deserialization buffer than we had! Requested byte index to pull bit from was 1237, but the number of bytes in this buffer was only 1237 (Chunk Index was 0 out of 1 chunks)
  at Arcen.Universal.ArcenDeserializationBufferModern.GetNextBit () [0x0018d] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1174
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelper16 (Arcen.Universal.ReadStyle RStyle) [0x00002] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1074
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadInt16 (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ReadStyle RStyle, System.String FieldNameForErrors) [0x000d2] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:247
  at AIWar2NetworkSync.Client_AcceptUltraFrequentSyncDataThatJustOverrides (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x0009f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:1998
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00042] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:242
  at AIWar2NetworkSync.Client_AcceptUltraFrequentSyncDataThatJustOverrides (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x001ef] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:2028
  at Arcen.AIW2.Core.AIWar2Networking.HandleMessage (System.Int64 UniqueMessageIDFromSender, System.Boolean IsFromSelfWithoutNetwork, System.UInt32 senderNetworkID, Arcen.Universal.ArcenNetworkMessageType CoreNetworkMessageType, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x00205] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:317
  at Arcen.Universal.ArcenNetworkMessageHandler.HandleMessage (System.Boolean IsFromSelfWithoutNetwork, System.UInt32 senderNetworkID, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x000ff] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Logic/Networking/ArcenNetworkMessageHandler.cs:53
  at Arcen.Universal.LiteNetSocket.<ConnectAsClient>m__4 (LiteNetLib.NetPeer fromPeer, LiteNetLib.NetPacketReader dataReader, LiteNetLib.DeliveryMethod deliveryMethod) [0x00000] in <b2a4ad7bece34da696f389a8a0ca6743>:0
  at LiteNetLib.EventBasedNetListener.LiteNetLib.INetEventListener.OnNetworkReceive (LiteNetLib.NetPeer peer, LiteNetLib.NetPacketReader reader, LiteNetLib.DeliveryMethod deliveryMethod) [0x00000] in <b2a4ad7bece34da696f389a8a0ca6743>:0
  at LiteNetLib.NetManager.ProcessEvent (LiteNetLib.NetEvent evt) [0x00000] in <b2a4ad7bece34da696f389a8a0ca6743>:0
  at LiteNetLib.NetManager.PollEvents () [0x00000] in <b2a4ad7bece34da696f389a8a0ca6743>:0
  at Arcen.Universal.LiteNetSocket.DoPerUpdateLogic () [0x00000] in <b2a4ad7bece34da696f389a8a0ca6743>:0
  at Arcen.Universal.ArcenNetworkAuthority.DoPerUpdateLogic () [0x00049] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Logic/Networking/ArcenNetworkAuthority.cs:395
  at Arcen.Universal.Engine_Universal.<OnUpdateEngineUniversalFromMainThread>m__0 () [0x00001] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/Engine_Universal.cs:1338
  at Arcen.Universal.ArcenThreading+<RunTaskOnBackgroundThread>c__AnonStorey0.<>m__0 () [0x00035] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/ArcenThreading.cs:135
  at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.Execute () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecutionContextCallback (System.Object obj) [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.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0

2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED369 TID15 Skipping read of canary 'CanaryCode' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED370 TID15 Skipping read of canary 'CanaryCode' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED371 TID15 OtherObject: Not fatal - just a warning: Client_TrulyProcessFastBlastDataOfCreatedObjects: Null faction found at index: -1. Abandoning rest of sync data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED372 TID15 Skipping read of canary 'CanaryCode' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED373 TID15 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED374 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED375 TID15 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED376 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.


2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED416 TID15 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED417 TID152 Warning A! Called CreateExternalBaseInfo<Arcen.AIW2.External.ScourgePerUnitBaseInfo>() when BaseInfo was actually a different type, Arcen.AIW2.External.AstroTrainsPerDepotBaseInfo on Hybrid Thoraxian Neinzul Warrior #343632 Scourge on Dertosa. It has existed for 12165
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00042] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/UtilityLibraries/Debug/ArcenDebugging.cs:242
  at Arcen.AIW2.Core.GameEntity_Squad.CreateExternalBaseInfo[T] (System.String BaseInfoSourceName) [0x00090] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:2405
  at Arcen.AIW2.External.ScourgeFactionBaseInfo+<DoPerSecondLogic_Stage2Aggregating_OnMainThreadAndPartOfSim_ClientAndHost>c__AnonStorey5.<>m__8 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <de4088d3c9a742f4aca0190223447dda>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (System.String Tag, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00074] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntityCollection.cs:922


2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED418 TID71 Skipping read of canary 'CanaryCode' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED419 TID71 Skipping read of canary 'first' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED420 TID71 Skipping read of canary 'second' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED421 TID71 Skipping read of canary 'third' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED422 TID71 Skipping read of canary 'fourth' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED423 TID71 Skipping read of canary 'EntityCanarySys' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED424 TID71 Skipping read of canary 'EntityCanaryPostSys' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED425 TID71 Skipping read of canary 'EntityCanaryGP' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED426 TID71 GameEntity_Squad deserialization error at stage 19000 from serialized version 3.805 loading into new version 3.805, error: System.Exception: DeathEffectCausingDamageReceivedToEntity_Type Error: DeserializeFrom_Inner DoByIndex=true nameIndex of 7 larger than IndexSerializationInfo.SerializedNamesList.Count of 6 on table: DeathEffectTypeTable FieldNameForErrors: DeathEffectCausingDamageReceivedToEntity_Type From Version: 3.805
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean DoByIndex, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String FieldNameForErrors) [0x002de] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenExternalDefinitionFramework/Tables/ArcenDynamicTable.cs:537
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByIndex (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String FieldNameForErrors) [0x00009] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenExternalDefinitionFramework/Tables/ArcenDynamicTable.cs:441
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (Arcen.Universal.SerMetaData MetaData, System.Int32 primaryKeyID, Arcen.AIW2.Core.GameEntityTypeData typeData, Arcen.AIW2.Core.Planet NewPlanet, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean HideErrors, System.Boolean IsLoadingTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType, Arcen.AIW2.Core.PlanetFaction NewPlanetFaction) [0x0143d] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:2155
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED427 TID71 Skipping read of canary 'PostFacNum' because HasHadExceptionThatShouldHaltAllFurtherReads.


2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED632 TID129 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED633 TID129 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED634 TID129 Skipping read of canary 'InternalCanary' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED635 TID129 Not fatal - just a warning: Client_AcceptDivergenceDataFromHost: Null planet found at index: -1. Abandoning rest of sync fix data from this cycle.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED636 TID129 Skipping read of canary 'CanaryCode' because HasHadExceptionThatShouldHaltAllFurtherReads.
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED637 TID129 Faction deserialization error at stage 14200 from serialized version 3.805 loading into new version 3.805, error: System.Exception: Tried to read more bits from a deserialization buffer than we had! Requested byte index to pull bit from was 770, but the number of bytes in this buffer was only 770 (Chunk Index was 0 out of 1 chunks)
  at Arcen.Universal.ArcenDeserializationBufferModern.GetNextBit () [0x0018d] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1174
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelper32 (Arcen.Universal.ReadStyle RStyle) [0x00063] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1047
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadInt32 (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ReadStyle RStyle, System.String FieldNameForErrors) [0x000d2] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:287
  at Arcen.AIW2.Core.VassalMission.DeserializeFrom (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0019e] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/WorldExtras/VassalMission.cs:284
  at Arcen.AIW2.Core.VassalMission.Create (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer) [0x0000f] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/WorldExtras/VassalMission.cs:216
  at Arcen.AIW2.Core.Faction.DeserializeFactionIntoSelf (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.AIW2.Core.ConfigurationForFaction Config, System.Boolean IsLoadingForTemplate, Arcen.Universal.SerializationCommandType SerializationCmdType) [0x009ab] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Faction/Faction.cs:1053
2/18/2022 11:24:39 AM 3.805 CLIENT DELAYED638 TID129 Error in Client_AcceptUltraFrequentSyncDataThatJustOverrides, debugStage 700: System.Exception: Tried to read more bits from a deserialization buffer than we had! Requested byte index to pull bit from was 770, but the number of bytes in this buffer was only 770 (Chunk Index was 0 out of 1 chunks)
  at Arcen.Universal.ArcenDeserializationBufferModern.GetNextBit () [0x0018d] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1174
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelper16 (Arcen.Universal.ReadStyle RStyle) [0x00002] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:1074
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadInt16 (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ReadStyle RStyle, System.String FieldNameForErrors) [0x000d2] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:247

Chris_McElligottPark

Feb 18, 2022 1:48 pm

administrator   ~0064587

Nothing overly scary in there, which is great news!

BadgerBadger

Feb 18, 2022 2:56 pm

manager   ~0064589

2/18/2022 12:53:33 PM 3.805 CLIENT DELAYED67 TID39 TakeDamageDirectly error at debugStage 3140: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.GameEntity_Squad.TakeDamageDirectly (System.Int32 DamageAmount, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.IShotHitSource ShotSourceThatHitOrNullOnlyUsedForKnockback, Arcen.AIW2.Core.DamageSource Damage, System.Boolean PreventReversionToNeutral, System.Boolean HonorFiniteHitCountAOE, System.Int32 MaxStacksAllowedToKill, System.Int32 CompressedShots, System.Int32 ExtraStacksOfSource, System.Boolean OnlyDamageShieldNotHull, System.Int32& ActualDamageDone, System.Int32& ActualHitEvents, System.Int32& DamageAbortCode, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x00998] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:6138

I think this code is
                    debugStage = 3410;
                    int damageToShields = DamageAmount;
                    if ( traceBuffer != null ) traceBuffer.Add( "\n\t" ).Add( "damageToShields = DamageAmount = " ).Add( damageToShields );

                    debugStage = 3420;

I don't see any way for this to Null Reference..

Chris_McElligottPark

Feb 24, 2022 9:28 am

administrator   ~0064785

* The "Found a squad still in a PlanetFaction list after it was already in quarantine, yikes!" error message no longer displays on MP clients, since it looks like it's simply cleaning things up properly in those instances. It will still display on hosts and in SP, since there it would be evidence of a non-orderly cleanup of a unit, probably.

Chris_McElligottPark

Feb 24, 2022 9:34 am

administrator   ~0064786

* Hardened the movement planning logic against rare cross-threading exceptions.

Chris_McElligottPark

Feb 24, 2022 9:41 am

administrator   ~0064787

More notes are in the code:

* Fixed an issue in the scourge updateExperienceAndMetal where it was complaining about something that ultimately did not warrant being complained about, thus shutting down the scourge faction without good reason.

Chris_McElligottPark

Feb 24, 2022 9:52 am

administrator   ~0064788

* Finally fixed a longstanding bug in multiplayer where it was possible to get a deserialization error on a squad if one of the orders in the squad was null. It was telling the client to expect more orders than it would really send, despite precalculating properly how many it would send. One-line typo, incredibly hard to spot.

Chris_McElligottPark

Feb 24, 2022 9:54 am

administrator   ~0064789

* Multiplayer clients no longer call the "Warning A! Called CreateExternalBaseInfo" message. They just correct the data and move on.

Chris_McElligottPark

Feb 24, 2022 10:12 am

administrator   ~0064790

* Fixed a number of vassal mission issues:
** On MP clients, there was an infinite number of duplicates that would stack up on planets.
** On factions themselves, there was a memory leak with ones referenced there.
** And probably there was a serialization issue of some sort, so canaries have been inserted, although the actual serialization itself is not yet fixed.

Chris_McElligottPark

Feb 24, 2022 10:13 am

administrator   ~0064791

3140 is this:

debugStage = 3140;
                                GameEntity_Squad.CreateNew_ReturnNullIfMPClient(
                                    this.PlanetFaction, this.TypeData.UnitToMakeWithBuildPointsFromDamageTaken, this.CurrentMarkLevel,
                                   this.GetFleetOrNull_Safe(), 0, this.WorldLocation, Context.GetHostOnlyContext(), "HydraHeadSpawn" );
                                this.BuildPoints -= CostOfSpawn;

Chris_McElligottPark

Feb 24, 2022 10:15 am

administrator   ~0064792

Okay, that should be everything. Thanks!

* Fixed an issue where hydra heads trying to spawn on MP clients could lead to an exception.

Issue History

Date Modified Username Field Change
Feb 18, 2022 1:20 pm BadgerBadger New Issue
Feb 18, 2022 1:20 pm BadgerBadger Status new => assigned
Feb 18, 2022 1:20 pm BadgerBadger Assigned To => Chris_McElligottPark
Feb 18, 2022 1:25 pm BadgerBadger Note Added: 0064585
Feb 18, 2022 1:28 pm BadgerBadger Note Added: 0064586
Feb 18, 2022 1:32 pm BadgerBadger Note Edited: 0064585
Feb 18, 2022 1:32 pm BadgerBadger Note Edited: 0064586
Feb 18, 2022 1:48 pm Chris_McElligottPark Note Added: 0064587
Feb 18, 2022 2:56 pm BadgerBadger Note Added: 0064589
Feb 21, 2022 5:36 pm BadgerBadger Relationship added related to 0026438
Feb 21, 2022 5:37 pm BadgerBadger Relationship added related to 0026397
Feb 21, 2022 5:37 pm BadgerBadger Relationship added related to 0026453
Feb 24, 2022 9:28 am Chris_McElligottPark Note Added: 0064785
Feb 24, 2022 9:34 am Chris_McElligottPark Note Added: 0064786
Feb 24, 2022 9:41 am Chris_McElligottPark Note Added: 0064787
Feb 24, 2022 9:52 am Chris_McElligottPark Note Added: 0064788
Feb 24, 2022 9:54 am Chris_McElligottPark Note Added: 0064789
Feb 24, 2022 10:12 am Chris_McElligottPark Note Added: 0064790
Feb 24, 2022 10:13 am Chris_McElligottPark Note Added: 0064791
Feb 24, 2022 10:15 am Chris_McElligottPark Status assigned => resolved
Feb 24, 2022 10:15 am Chris_McElligottPark Resolution open => fixed
Feb 24, 2022 10:15 am Chris_McElligottPark Fixed in Version => Beta 3.903 Multiplayer Polish
Feb 24, 2022 10:15 am Chris_McElligottPark Note Added: 0064792