View Issue Details

IDProjectCategoryLast Update
0026243AI War 2Bug - OtherFeb 3, 2022 8:01 pm
ReporterTuntematon Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.791 Network Defragmentation 
Fixed in VersionBeta 3.792 Thread And Entity Sanity 
Summary0026243: Sometimes enemy units get added to my fleet
Descriptionnoticed that there is sometimes enemy units showing also when fleet is selected. They disapear soon after, but i could also scrap them from distant fleet members.
TagsNo tags attached.

Relationships

related to 0026247 resolvedChris_McElligottPark Mines vanishing, suddenly strange things are attached to fleet. 

Activities

Tuntematon

Feb 3, 2022 12:57 pm

reporter  

20220203195146_1.jpg (477,047 bytes)
save.save (434,714 bytes)

Tuntematon

Feb 3, 2022 1:10 pm

reporter   ~0064074

not sure if these are related, but they are in debuglog

2/3/2022 7:51:45 PM 3.791 SINGLEP DELAYED5485 TID12 Hit exception in UpdateNonSerializedFields_LRP debugCode 900 System.Exception: Mismatch for Neophyte #190768 on Krator between unit's fireteam 581 and unit-data's fireteam -1
  at Arcen.AIW2.External.FireteamHonoraryDeepInfo.UpdateNonSerializedFields_LRP (Arcen.AIW2.Core.Faction faction, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, Arcen.AIW2.External.ArcenLongTermIntermittentPlanningContextBase Context) [0x0051c] in <0f1ff40de9d4412e8ed7e3864488302d>:0
ArcenDebugLog.txt (1,264,800 bytes)

Chris_McElligottPark

Feb 3, 2022 5:43 pm

administrator   ~0064086

Seems related to 0026247. This is very odd indeed.

Chris_McElligottPark

Feb 3, 2022 8:01 pm

administrator   ~0064090

Thanks!

* Lots of updates to the way that we centrally track entity info!
** The short version is that now we're keeping track of a bit more information, and we access it differently (a regular dictionary and a lock when writing, rather than a concurrent dictionary).
*** The reason for the dictionary change is partly performance, and partly to avoid issues with thread sync.
*** Also, the way that we store some of the debug information about the number of units created is now more efficient, now also requiring three fewer concurrent dictionaries.
** As part of this, the game now does a per-second check to see if any units have unexpectedly switched fleets or switched factions, since that was something that was happening to a couple of folks lately. It will give an error immediately if so, now.
*** The hope is that with the restructuring of how data goes in, that this will no longer happen in general. That said, if there is a "valid" call to SwitchFaction that is just calling to the wrong place, then we'll have to do more instrumentation.
** Another part of this is that if there is a duplicate PKID registered (this may have been the cause of unexpected faction shifts), then it now does a better job of getting a new non-conflicting PKID on game hosts (and in SP).

Issue History

Date Modified Username Field Change
Feb 3, 2022 12:57 pm Tuntematon New Issue
Feb 3, 2022 12:57 pm Tuntematon File Added: 20220203195146_1.jpg
Feb 3, 2022 12:57 pm Tuntematon File Added: save.save
Feb 3, 2022 12:59 pm Tuntematon Description Updated
Feb 3, 2022 1:10 pm Tuntematon Note Added: 0064074
Feb 3, 2022 1:10 pm Tuntematon File Added: ArcenDebugLog.txt
Feb 3, 2022 5:42 pm Chris_McElligottPark Relationship added related to 0026247
Feb 3, 2022 5:43 pm Chris_McElligottPark Note Added: 0064086
Feb 3, 2022 8:01 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Feb 3, 2022 8:01 pm Chris_McElligottPark Status new => resolved
Feb 3, 2022 8:01 pm Chris_McElligottPark Resolution open => fixed
Feb 3, 2022 8:01 pm Chris_McElligottPark Fixed in Version => Beta 3.792 Thread And Entity Sanity
Feb 3, 2022 8:01 pm Chris_McElligottPark Note Added: 0064090