View Issue Details

IDProjectCategoryLast Update
0025491AI War 2Gameplay IssueFeb 28, 2022 1:06 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.505 Long-Term-Thread Efficiency 
Summary0025491: Multiplayer bugs Aug 7
DescriptionHere are some stream of consciousness report on problems that were observed in MP tonight. Lots of errors seen.

Client game clock resets back to 1 second repeatedly sometimes (only on very firsrt connection)


I see the following in my log (I think this was from opening the edit factions window)

8/7/2021 7:37:50 PM 3.505 CLIENT Window_FactionsWindow: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.AIW2.External.Window_FactionsWindow+bCategory.GetTextToShowFromVolatile (Arcen.Universal.ArcenDoubleCharacterBuffer buffer) [0x00318] in <80fd3dbb80b14752a3a746b994ab7e20>:0
  at Arcen.Universal.ArcenUI_Button.OnUpdateVolatileDataFromMainThread () [0x000df] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateVolatileDataFromMainThread () [0x00070] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00018] in <8c52c8fef1274303baa633b049adc2b0>: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 <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00000] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <5f874813ec5f4747bc37c311fd7a1b88>:0
  at ArcenGameController.Update () [0x00000] in <d67d3d805ddb40b38b25b917ac0034ce>:0


I have battles where there are enemy ships but the client can't see them. However, the client can see the shots being fired. During this whole battle the enemy sihps can't be seen. These problems were intermittent. This was sporadic

Some factions just never have their ships show up. I'm playing with the scourge and I see no scourge units in the galaxy at all. Not even the spawners or anything. This was sporadic

I see no ships at all in the galaxy, just flagships and stationary structures. I do see my strikecraft/frigates in the planet sidebar Units list though. This was sporadic

When I give ships orders to go between planets I sometimes don't get any visual feedback that they've gone through the wormhole for a while after they've actually gone through. In general when giving movement orders it takes 5-10 seceonds for any ships on my screen to be updated.


The lost spire frigate flagship appears intermittently visually in the game at all; this is the only flagship that seems to have this problem (but also our onle Officer)


human empire clients see no hacking notifications even when a hack is ongoing if they did not initiate the hack. If I as a client start a hack it works fine.


8/7/2021 7:36:40 PM 3.505 CLIENT Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_PeriodicWorldSyncDataThatJustOverrides IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 11850 Exception: System.Exception: World_AIW2 deserialization error at stage 1000 from serialized version 3.505 loading into new version 3.505, error: System.Exception: Could not read string, but did get this partial one: '`PZ<<=yöüd~S?RomanEmpire'. Was for field with name:' Scenario' Exception: System.Exception: Tried to read condensed string format index 121 which is >= the length of 106 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c1] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x00105] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x0022b] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean DoByIndex, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x0022d] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByInternalName (Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00001] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByInternalName (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00001] in <8c52c8fef1274303baa633b049adc2b0>:0

8/7/2021 8:02:10 PM 3.505 CLIENT Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_PeriodicWorldSyncDataThatJustOverrides IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 9593 Exception: System.Exception: World_AIW2 deserialization error at stage 1000 from serialized version 3.505 loading into new version 3.505, error: System.Exception: Could not read string, but did get this partial one: 'f7Y+'**0öG'ßßr&ßl?'. Was for field with name:' Scenario' Exception: System.Exception: Tried to read condensed string format index 118 which is >= the length of 106 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c1] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x00105] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x0022b] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean DoByIndex, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x0022d] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByInternalName (Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00001] in <8c52c8fef1274303baa633b049adc2b0>:0
8/7/2021 8:02:10 PM 3.505 CLIENT Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_PeriodicWorldSyncDataThatJustOverrides IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 9593 Exception: System.Exception: World_AIW2 deserialization error at stage 1000 from serialized version 3.505 loading into new version 3.505, error: System.Exception: Could not read string, but did get this partial one: 'f7Y+'**0öG'ßßr&ßl?'. Was for field with name:' Scenario' Exception: System.Exception: Tried to read condensed string format index 118 which is >= the length of 106 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c1] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x00105] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x0022b] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean DoByIndex, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x0022d] in <8c52c8fef1274303baa633b049adc2b0>:0


The "Ship is warping in" imagery looks really weird on client. It's just kinda orange for the scourge armory; solid orange, no texture or anything.


8/7/2021 9:25:46 PM 3.505 CLIENT Fixed likely runaway loop in Client_AcceptDivergenceDataFromHost (divergent fixes part).
8/7/2021 9:25:46 PM 3.505 CLIENT Exception in Client_AcceptDivergenceDataFromHost-DivergencesSection: debugStage: 7000 Exception: System.Exception: Canary code exception at CanaryCode (ThSeus). Code above it is the real problem.
  at Arcen.Universal.ArcenDeserializationBufferModern.ValidateCanary (System.String ExpectedCanaryString, System.String CanaryFieldName, Arcen.Universal.CanaryStyle Canary) [0x000af] in <8c52c8fef1274303baa633b049adc2b0>:0
  at AIWar2NetworkSync.Client_AcceptDivergenceDataFromHost (Arcen.Universal.ArcenDeserializationBuffer buffer) [0x00c97] in <5f874813ec5f4747bc37c311fd7a1b88>:0


Host was playing. Things were slow and hiccuping for them. We decided to save/quit to main menu/reload to see if that would clear things up. Afterwards windows told the host that the game was not respoinding and it needed to be killed via tsk manager


8/7/2021 9:31:25 PM 3.505 CLIENT Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_PeriodicWorldSyncDataThatJustOverrides IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 7892 Exception: System.Exception: World_AIW2 deserialization error at stage 1000 from serialized version 3.505 loading into new version 3.505, error: System.Exception: Could not read string, but did get this partial one: '?LOTS_OF_ENERGYC?3P“mzb'. Was for field with name:' GalSettingName' Exception: System.Exception: Tried to read condensed string format index 117 which is >= the length of 106 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c1] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x00105] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x0022b] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.AIW2.Core.WorldSetup.DeserializeInto (Arcen.AIW2.Core.WorldSetup result, Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean IsLoadingForTemplate) [0x00153] in <5f874813ec5f4747bc37c311fd7a1b88>:0
  at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, Arcen.Universal.SerializationCommandType SerializationType) [0x002fc] in <5f874813ec5f4747bc37c311fd7a1b88>:0
  at Arcen.AIW2.Core.World_AIW2.DeserializeWorldFrom (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, Arcen.Universal.SerializationCommandType SerializationType) [0x011fb] in <5f874813ec5f4747bc37c311fd7a1b88>:0
  at Arcen.Universal.World.DeserializedIntoSelf (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.Boolean LoadAsTemplate, System.Boolean HideErrors, System.String& ErrorText, Arcen.Universal.SerializationCommandType SerializationType) [0x00816] in <8c52c8fef1274303baa633b049adc2b0>:0
  at AIWar2NetworkSync.Client_AcceptPeriodicWorldSyncDataThatJustOverrides (Arcen.Universal.ArcenDeserializationBuffer buffer) [0x00098] in <5f874813ec5f4747bc37c311fd7a1b88>:0
  at Arcen.AIW2.Core.AIWar2Networking.HandleMessage (System.Int64 UniqueMessageIDFromSender, System.Boolean IsFromSelfWithoutNetwork, System.UInt32 senderNetworkID, Arcen.Universal.ArcenNetworkMessageType CoreNetworkMessageType, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x002c7] in <5f874813ec5f4747bc37c311fd7a1b88>:0


8/7/2021 9:34:35 PM 3.505 CLIENT Server just informed us that it shut down. Exiting to main menu...
8/7/2021 9:34:35 PM 3.505 SINGLEP ClearAllTrace exception in DoClearAllMyDataForQuitToMainMenuOrBeforeNewMap(): System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.SpecialFaction_Necromancer.ClearAllMyDataForQuitToMainMenuOrBeforeNewMap () [0x00054] in <80fd3dbb80b14752a3a746b994ab7e20>:0
  at Arcen.Universal.ArcenExternalTypeManager.DoClearAllMyDataForQuitToMainMenuOrBeforeNewMap () [0x00062] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.AIW2.Core.Engine_AIW2.ClearAllTraceOfExistingGame () [0x00165] in <5f874813ec5f4747bc37c311fd7a1b88>:0
8/7/2021 9:34:35 PM 3.505 SINGLEP ClearAllTrace exception in DoClearAllMyDataForQuitToMainMenuOrBeforeNewMap(): System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.SpecialFaction_Sappers.ClearAllMyDataForQuitToMainMenuOrBeforeNewMap () [0x000a2] in <80fd3dbb80b14752a3a746b994ab7e20>:0
  at Arcen.Universal.ArcenExternalTypeManager.DoClearAllMyDataForQuitToMainMenuOrBeforeNewMap () [0x00062] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.AIW2.Core.Engine_AIW2.ClearAllTraceOfExistingGame () [0x00165] in <5f874813ec5f4747bc37c311fd7a1b88>:0
TagsNo tags attached.

Activities

BadgerBadger

Aug 7, 2021 11:55 pm

manager   ~0062638

Seen on the host

8/7/2021 9:34:34 PM 3.505 HOST ClearAllTrace exception in DoClearAllMyDataForQuitToMainMenuOrBeforeNewMap(): System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.SpecialFaction_Necromancer.ClearAllMyDataForQuitToMainMenuOrBeforeNewMap () [0x00054] in <80fd3dbb80b14752a3a746b994ab7e20>:0
  at Arcen.Universal.ArcenExternalTypeManager.DoClearAllMyDataForQuitToMainMenuOrBeforeNewMap () [0x00062] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.AIW2.Core.Engine_AIW2.ClearAllTraceOfExistingGame () [0x00165] in <5f874813ec5f4747bc37c311fd7a1b88>:0

BadgerBadger

Aug 8, 2021 12:00 am

manager   ~0062639

8/7/2021 7:36:00 PM 3.505 CLIENT Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_PeriodicWorldSyncDataThatJustOverrides IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 11162 Exception: System.Exception: World_AIW2 deserialization error at stage 1000 from serialized version 3.505 loading into new version 3.505, error: System.Exception: Could not read string, but did get this partial one: 'n?F?'. Was for field with name:' MapType' Exception: System.Exception: Tried to read condensed string format index 124 which is >= the length of 106 supported characters. Some bad data just happened prior to this!
  at Arcen.Universal.ArcenDeserializationBufferModern.GetBits_InnerHelperChar (System.Boolean ReadFullUnicode) [0x000c1] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x00105] in <8c52c8fef1274303baa633b049adc2b0>:0
at Arcen.Universal.ArcenDeserializationBufferModern.ReadString_Condensed (System.String FieldNameForErrors) [0x0022b] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable1[T].DeserializeFrom_Inner (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String& NameFound, System.Boolean DoByIndex, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x0022d] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable1[T].DeserializeByInternalName (Arcen.Universal.ArcenDeserializationBuffer Buffer, Arcen.Universal.LookupSwapAllowed SwapAllowed, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00001] in <8c52c8fef1274303baa633b049adc2b0>:0
  at Arcen.Universal.ArcenDynamicTable`1[T].DeserializeByInternalName (Arcen.Universal.ArcenDeserializationBuffer Buffer, System.String PlaceOfDeserializationForDebugging, System.String FieldNameForErrors) [0x00001] in <8c52c8fef1274303baa633b049adc2b0>:0

Chris_McElligottPark

Feb 28, 2022 1:06 pm

administrator   ~0064891

Should be solved at this point!

Issue History

Date Modified Username Field Change
Aug 7, 2021 11:54 pm BadgerBadger New Issue
Aug 7, 2021 11:54 pm BadgerBadger Status new => assigned
Aug 7, 2021 11:54 pm BadgerBadger Assigned To => Chris_McElligottPark
Aug 7, 2021 11:55 pm BadgerBadger Note Added: 0062638
Aug 8, 2021 12:00 am BadgerBadger Note Added: 0062639
Feb 28, 2022 1:06 pm Chris_McElligottPark Status assigned => resolved
Feb 28, 2022 1:06 pm Chris_McElligottPark Resolution open => fixed
Feb 28, 2022 1:06 pm Chris_McElligottPark Note Added: 0064891