View Issue Details

IDProjectCategoryLast Update
0026223AI War 2Crash/ExceptionFeb 7, 2022 6:49 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product VersionBeta 3.791 Network Defragmentation 
Fixed in VersionBeta 3.796 Greatly Thinning The Turncoats 
Summary0026223: MP errors feb1
DescriptionHit at game start time (when swapping from lobby to the galaxy map screen)

2/1/2022 10:47:41 PM 3.791 CLIENT hit exception in GalaxyMapPlanet::DoPerFrameUpdate, debugCode 150 System.NullReferenceException: Object reference not set to an instance of an object
  at GalaxyMapPlanet.DrawPlanetUnderAttackAlertIfNeedBe (System.Boolean ShouldDrawAsDarkened, System.Boolean ShouldDrawAsLightGrayed) [0x00086] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Visualization/src/GalayMap/GalaxyMapPlanet.cs:1404
  at GalaxyMapPlanet.DoPerFrameUpdate () [0x0004a] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Visualization/src/GalayMap/GalaxyMapPlanet.cs:1175


2/1/2022 10:56:57 PM 3.791 CLIENT ArcenUI_Window.OnUpdateWindow Error: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent+<OnUpdateScience>c__AnonStorey1.<>m__1 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x0002e] in <4742230214ef4f16b3c209dd5e57516d>:0
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00062] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/EntityCollection.cs:862
  at Arcen.AIW2.Core.Faction.DoForEntities (Arcen.AIW2.Core.EntityRollupType Rollup, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00037] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/Faction/Faction.cs:2913
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent.OnUpdateScience (System.Single& currentY) [0x00151] in <4742230214ef4f16b3c209dd5e57516d>:0
  at Arcen.AIW2.External.Window_InGameSidebarScience+customParent.OnUpdate () [0x0011d] in <4742230214ef4f16b3c209dd5e57516d>:0
  at Arcen.Universal.ArcenUI_CustomUI.OnUpdate_Subclass (System.Single DeltaTime) [0x00072] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenUI/ArcenUI_CustomUI.cs:74
  at Arcen.Universal.ArcenUI_Element.UpdateFromUI (System.Boolean ShouldDoFullUpdate, System.Single DeltaTime) [0x000e6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenUI/ArcenUI_Element.cs:451
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime, System.Boolean InvertMouseWheelUIScrolling, System.Int32 scrollSpeedForMouseUI) [0x001ec] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenUI/ArcenUI_Window.cs:365

Then a couple serialization errors
2/1/2022 10:57:41 PM 3.791 CLIENT DELAYED21 TID7 GameEntity_Squad deserialization error at stage 11000 from serialized version 3.791 loading into new version 3.791, error: System.Exception: Canary code exception at EntityCanaryPostSys (P). Code above it is the real problem.
  at Arcen.Universal.ArcenDeserializationBufferModern.ValidateCanary (System.String ExpectedCanaryString, System.String CanaryFieldName, Arcen.Universal.CanaryStyle Canary) [0x000b6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:713
  at Arcen.AIW2.Core.GameEntity_Squad.DeserializeSquadIntoSelf (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) [0x00b77] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/GameState/GameEntity/GameEntity_Squad.cs:1883
2/1/2022 10:57:41 PM 3.791 CLIENT DELAYED22 TID7 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) [0x000b6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:713
  at AIWar2NetworkSync.Client_AcceptDivergenceSingleSquadDataFromHost (Arcen.Universal.ArcenDeserializationBuffer buffer) [0x00a20] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:1788
2/1/2022 10:57:41 PM 3.791 CLIENT DELAYED23 TID7 Client_AcceptPeriodicPlanetFactionSyncDataThatJustOverrides exception at debugStage 500 Exception: System.Exception: Canary code exception at hash (#). Code above it is the real problem.
  at Arcen.Universal.ArcenDeserializationBufferModern.ValidateCanary (System.String ExpectedCanaryString, System.String CanaryFieldName, Arcen.Universal.CanaryStyle Canary) [0x000b6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:713
  at AIWar2NetworkSync.Client_AcceptPeriodicPlanetFactionSyncDataThatJustOverrides (Arcen.Universal.ArcenDeserializationBuffer buffer) [0x000e0] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:2472
2/1/2022 10:57:41 PM 3.791 CLIENT DELAYED24 TID7 Client_AcceptPeriodicPlanetFactionSyncDataThatJustOverrides exception at debugStage 500 Exception: System.Exception: Canary code exception at hash (#). Code above it is the real problem.
  at Arcen.Universal.ArcenDeserializationBufferModern.ValidateCanary (System.String ExpectedCanaryString, System.String CanaryFieldName, Arcen.Universal.CanaryStyle Canary) [0x000b6] in /data/Games/arcengames_aiw-ultra/CodeCrossProject/ArcenUniversal/src/ArcenBuffers/ArcenDeserializationBufferModern.cs:713
  at AIWar2NetworkSync.Client_AcceptPeriodicPlanetFactionSyncDataThatJustOverrides (Arcen.Universal.ArcenDeserializationBuffer buffer) [0x000e0] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:2472

This was done on litenetlib between my laptop and dekstop which worked flawlessly
TagsNo tags attached.

Activities

Chris_McElligottPark

Feb 7, 2022 6:45 pm

administrator   ~0064253

* "GalaxyMapPlanet::DoPerFrameUpdate, debugCode 150" errors should now be more specific, if they happen again, and give details of whatever is going on in DrawPlanetUnderAttackAlertIfNeedBe().

Chris_McElligottPark

Feb 7, 2022 6:49 pm

administrator   ~0064254

Thanks!

* Fixed an "OnUpdateScience" exception that could happen under just the wrong circumstances, particularly in multiplayer.

The other things with the canaries were fixed since now, too.

Issue History

Date Modified Username Field Change
Feb 2, 2022 1:02 am BadgerBadger New Issue
Feb 2, 2022 1:02 am BadgerBadger Status new => assigned
Feb 2, 2022 1:02 am BadgerBadger Assigned To => Chris_McElligottPark
Feb 7, 2022 6:45 pm Chris_McElligottPark Note Added: 0064253
Feb 7, 2022 6:49 pm Chris_McElligottPark Status assigned => resolved
Feb 7, 2022 6:49 pm Chris_McElligottPark Resolution open => fixed
Feb 7, 2022 6:49 pm Chris_McElligottPark Fixed in Version => Beta 3.796 Greatly Thinning The Turncoats
Feb 7, 2022 6:49 pm Chris_McElligottPark Note Added: 0064254