View Issue Details

IDProjectCategoryLast Update
0026523AI War 2Crash/ExceptionFeb 25, 2022 5:11 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.903 Multiplayer Polish 
Fixed in VersionBeta 3.904 Release Candidate 1 
Summary0026523: Exception in AIWar2Networking.HandleMessage
Description2/24/2022 11:15:32 PM 3.903 CLIENT DELAYED36 TID75 Multiple entities on client waiting for Ghost check with ID 329804
2/24/2022 11:15:32 PM 3.903 CLIENT DELAYED37 TID75 Multiple entities on client waiting for Ghost check with ID 318625
2/24/2022 11:15:32 PM 3.903 CLIENT DELAYED38 TID75 Multiple entities on client waiting for Ghost check with ID 326399
2/24/2022 11:15:32 PM 3.903 CLIENT DELAYED39 TID75 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:32 PM 3.903 CLIENT DELAYED40 TID75 Multiple entities on client waiting for Ghost check with ID 322432
2/24/2022 11:15:32 PM 3.903 CLIENT DELAYED41 TID75 Multiple entities on client waiting for Ghost check with ID 316110
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED42 TID24 Multiple entities on client waiting for Ghost check with ID 326399
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED43 TID24 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED44 TID24 Multiple entities on client waiting for Ghost check with ID 322432
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED45 TID24 Multiple entities on client waiting for Ghost check with ID 329804
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED46 TID24 Multiple entities on client waiting for Ghost check with ID 318625
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED47 TID24 Multiple entities on client waiting for Ghost check with ID 316110
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED48 TID45 Multiple entities on client waiting for Ghost check with ID 326399
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED49 TID45 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED50 TID45 Multiple entities on client waiting for Ghost check with ID 322432
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED51 TID45 Multiple entities on client waiting for Ghost check with ID 329804
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED52 TID45 Multiple entities on client waiting for Ghost check with ID 318625
2/24/2022 11:15:33 PM 3.903 CLIENT DELAYED53 TID45 Multiple entities on client waiting for Ghost check with ID 316110
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED54 TID114 Multiple entities on client waiting for Ghost check with ID 326399
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED55 TID114 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED56 TID114 Multiple entities on client waiting for Ghost check with ID 341382
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED57 TID114 Multiple entities on client waiting for Ghost check with ID 325688
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED58 TID124 Multiple entities on client waiting for Ghost check with ID 326399
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED59 TID124 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED60 TID124 Multiple entities on client waiting for Ghost check with ID 341382
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED61 TID124 Multiple entities on client waiting for Ghost check with ID 325688
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED62 TID38 Multiple entities on client waiting for Ghost check with ID 326399
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED63 TID38 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED64 TID38 Multiple entities on client waiting for Ghost check with ID 325688
2/24/2022 11:15:38 PM 3.903 CLIENT DELAYED65 TID38 Multiple entities on client waiting for Ghost check with ID 341382
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED66 TID23 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED67 TID23 Multiple entities on client waiting for Ghost check with ID 341382
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED68 TID23 Multiple entities on client waiting for Ghost check with ID 325688
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED69 TID34 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED70 TID34 Multiple entities on client waiting for Ghost check with ID 341382
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED71 TID34 Multiple entities on client waiting for Ghost check with ID 325688
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED72 TID34 Multiple entities on client waiting for Ghost check with ID 341378
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED73 TID133 Multiple entities on client waiting for Ghost check with ID 327074
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED74 TID133 Multiple entities on client waiting for Ghost check with ID 341382
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED75 TID133 Multiple entities on client waiting for Ghost check with ID 325688
2/24/2022 11:15:39 PM 3.903 CLIENT DELAYED76 TID133 Multiple entities on client waiting for Ghost check with ID 341378
2/24/2022 11:16:50 PM 3.903 CLIENT DELAYED77 TID7 Found PKID twice: 345851 and Squad 1 was on planet null for factionnull while squad2 was on planet Emporion for factionScourge . Burlust Warrior
2/24/2022 11:16:53 PM 3.903 CLIENT DELAYED78 TID86 Found PKID twice: 345851 and Squad 1 was on planet null for factionnull while squad2 was on planet Emporion for factionScourge . Burlust Warrior
2/24/2022 11:16:53 PM 3.903 CLIENT DELAYED79 TID42 Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_SendBatchOfSquadsToSyncCheck IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 6098 Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at AIWar2NetworkSync.Client_CheckSyncDataSentFromHostAndNotifyOfAnyDivergences (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x0032b] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:902
  at Arcen.AIW2.Core.AIWar2Networking.HandleMessage (System.Int64 UniqueMessageIDFromSender, System.Boolean IsFromSelfWithoutNetwork, System.UInt32 senderNetworkID, Arcen.Universal.ArcenNetworkMessageType CoreNetworkMessageType, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x001f8] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:314
2/24/2022 11:17:24 PM 3.903 CLIENT DELAYED80 TID7 Exception in AIWar2Networking.HandleMessage: messageType: FromServerToClient_SendBatchOfSquadsToSyncCheck IsFromSelfWithoutNetwork: False senderNetworkID: 0 CoreNetworkMessageType: GameSpecific buffer.GetLengthOfCurrentChunk(): 6079 Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at AIWar2NetworkSync.Client_CheckSyncDataSentFromHostAndNotifyOfAnyDivergences (Arcen.Universal.SerMetaData MetaData, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x0032b] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2NetworkSync.cs:902
  at Arcen.AIW2.Core.AIWar2Networking.HandleMessage (System.Int64 UniqueMessageIDFromSender, System.Boolean IsFromSelfWithoutNetwork, System.UInt32 senderNetworkID, Arcen.Universal.ArcenNetworkMessageType CoreNetworkMessageType, Arcen.Universal.ArcenDeserializationBuffer buffer) [0x001f8] in /data/Games/arcengames_aiw-ultra/CodeMain/ArcenAIW2Core/src/Logic/Networking/AIWar2Networking.cs:314
TagsNo tags attached.

Activities

BadgerBadger

Feb 25, 2022 1:20 am

manager   ~0064842

Here's a save

BadgerBadger

Feb 25, 2022 10:51 am

manager   ~0064847

ForDebug.save (1,750,315 bytes)

Chris_McElligottPark

Feb 25, 2022 4:57 pm

administrator   ~0064851

Okay, the handlemessage error is this one:

* Fixed a couple of fairly rare cross-threading exceptions that could happen in Client_CheckSyncDataSentFromHostAndNotifyOfAnyDivergences on MP clients, and also instrumented both that method and a related sub-method fully so if we ever have any future errors in there, we'll have more info on where the problem is.

Thanks!

Chris_McElligottPark

Feb 25, 2022 5:03 pm

administrator   ~0064852

This should help with the ghost checks, but it does look like a unit was duplicated somehow, so it may not really solve it:

* If there are multiple entities doing ghost-checks for the same ID on a client, it now checks to see if any of those were quarantined or pulled back out of the pool and gets rid of them silently if so. If units have transformed recently, then it's possible for this to happen in a valid way.
** In the event that there are not extenuating circumstances like that where we can just toss one of them away, it now gives a more informative error message with extra info.

Chris_McElligottPark

Feb 25, 2022 5:11 pm

administrator   ~0064853

Last one from this ticket, thanks!

* In cases where there are duplicate squads on an MP client, and one of them is bogus, it will now just silently correct that, versus correcting that while also telling you about it. Previously it was fixing it, but giving you a warning that you don't need to see. Right now it will just give you that warning if both of them are supposed to be viable.

Issue History

Date Modified Username Field Change
Feb 25, 2022 1:19 am BadgerBadger New Issue
Feb 25, 2022 1:19 am BadgerBadger Status new => assigned
Feb 25, 2022 1:19 am BadgerBadger Assigned To => Chris_McElligottPark
Feb 25, 2022 1:20 am BadgerBadger Note Added: 0064842
Feb 25, 2022 10:51 am BadgerBadger Note Added: 0064847
Feb 25, 2022 10:51 am BadgerBadger File Added: ForDebug.save
Feb 25, 2022 4:57 pm Chris_McElligottPark Note Added: 0064851
Feb 25, 2022 5:03 pm Chris_McElligottPark Note Added: 0064852
Feb 25, 2022 5:11 pm Chris_McElligottPark Status assigned => resolved
Feb 25, 2022 5:11 pm Chris_McElligottPark Resolution open => fixed
Feb 25, 2022 5:11 pm Chris_McElligottPark Fixed in Version => Beta 3.904 Release Candidate 1
Feb 25, 2022 5:11 pm Chris_McElligottPark Note Added: 0064853