View Issue Details

IDProjectCategoryLast Update
0026571AI War 2Bug - GameplayMar 2, 2022 4:41 pm
ReporterTuntematon Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.905 Release Candidate 2 
Fixed in VersionBeta 3.906 Release Candidate 3 
Summary0026571: ActuallyFireSalvoAtTargetPriorityList
Description3/2/2022 5:51:16 PM 3.905 SINGLEP DELAYED52 TID5 ActuallyFireSalvoAtTargetPriorityList error at debugStage 12210, error: System.IndexOutOfRangeException: 4 was larger than 4, the current effective size of the list. LocationNameForTracing:EntitySystem-targetPriorityList
  at Arcen.Universal.List`1[T].set_Item (System.Int32 index, T value) [0x0004f] in <8324a790b6434812a4b890f1c36fdd45>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00e9e] in <d0bcbe871b284f5fa67c6ac1516f04e6>:0
TagsNo tags attached.

Relationships

related to 0026548 resolvedChris_McElligottPark [Multiplayer] Flagship producing infinite ships local to client after transfer 
related to 0026570 feedbackChris_McElligottPark Inactive background threads 

Activities

Tuntematon

Mar 2, 2022 10:55 am

reporter  

Player.log (3,687 bytes)   
Mono path[0] = 'F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/Managed'
Mono config path = 'F:/SteamLibrary/steamapps/common/AI War 2/MonoBleedingEdge/etc'
Initialize engine version: 2020.3.27f1 (e759542391ea)
[Subsystems] Discovering subsystems at path F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/UnitySubsystems
Forcing GfxDevice: Direct3D 11
GfxDevice: creating device client; threaded=1
Direct3D:
    Version:  Direct3D 11.0 [level 11.1]
    Renderer: NVIDIA GeForce RTX 2070 (ID=0x1f07)
    Vendor:   
    VRAM:     8031 MB
    Driver:   30.0.14.7168
Begin MonoManager ReloadAssembly
- Completed reload, in  2.116 seconds
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 5.547400 ms
Fallback handler could not load library F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/Mono/data-000001E67F074040.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/Mono/data-000001E67F3CE040.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/Mono/data-000001E6873D7A70.dll
Particle System is trying to spawn on a mesh with zero surface area
Particle System is trying to spawn on a mesh with zero surface area
Fallback handler could not load library F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/Mono/data-000001E6877FE010.dll
Fallback handler could not load library F:/SteamLibrary/steamapps/common/AI War 2/AIWar2_Data/Mono/data-000001E763F30020.dll
DELAYED52 TID5 ActuallyFireSalvoAtTargetPriorityList error at debugStage 12210, error: System.IndexOutOfRangeException: 4 was larger than 4, the current effective size of the list. LocationNameForTracing:EntitySystem-targetPriorityList
  at Arcen.Universal.List`1[T].set_Item (System.Int32 index, T value) [0x0004f] in <8324a790b6434812a4b890f1c36fdd45>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00e9e] in <d0bcbe871b284f5fa67c6ac1516f04e6>:0 
DELAYED53 TID5 ActuallyFireSalvoAtTargetPriorityList error at debugStage 12210, error: System.IndexOutOfRangeException: 5 was larger than 5, the current effective size of the list. LocationNameForTracing:EntitySystem-targetPriorityList
  at Arcen.Universal.List`1[T].set_Item (System.Int32 index, T value) [0x0004f] in <8324a790b6434812a4b890f1c36fdd45>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00e9e] in <d0bcbe871b284f5fa67c6ac1516f04e6>:0 
DELAYED54 TID32 ActuallyFireSalvoAtTargetPriorityList error at debugStage 12210, error: System.IndexOutOfRangeException: 0 was larger than 0, the current effective size of the list. LocationNameForTracing:EntitySystem-targetPriorityList
  at Arcen.Universal.List`1[T].set_Item (System.Int32 index, T value) [0x0004f] in <8324a790b6434812a4b890f1c36fdd45>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00e98] in <d0bcbe871b284f5fa67c6ac1516f04e6>:0 
Player.log (3,687 bytes)   
ArcenDebugLog.txt (808,969 bytes)

Chris_McElligottPark

Mar 2, 2022 12:04 pm

administrator   ~0065026

Noble had the following:

DELAYED38 TID20 ActuallyFireSalvoAtTargetPriorityList error at debugStage 12210, error: System.IndexOutOfRangeException: 2 was larger than 13, the current effective size of the list. LocationNameForTracing:EntitySystem-targetPriorityList
  at Arcen.Universal.List`1[T].set_Item (System.Int32 index, T value) [0x0004f] in <ae781c79bbec44678b85eff2b87059cb>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00e98]

That one is extra "funny", because you can see that the list size got larger immediately after the check. These are clearly cross-threading issues.

Tuntematon

Mar 2, 2022 4:28 pm

reporter   ~0065029

Played MP with bummeri and he got this
3/2/2022 9:58:10 PM 3.905 CLIENT DELAYED75 TID13 ActuallyFireSalvoAtTargetPriorityList error at debugStage 12210, error: System.IndexOutOfRangeException: 3 was larger than 16, the current effective size of the list. LocationNameForTracing:EntitySystem-targetPriorityList
  at Arcen.Universal.List`1[T].set_Item (System.Int32 index, T value) [0x0004f] in <8324a790b6434812a4b890f1c36fdd45>:0
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00e98] in <d0bcbe871b284f5fa67c6ac1516f04e6>:0

Chris_McElligottPark

Mar 2, 2022 4:41 pm

administrator   ~0065032

Thanks!

* Fixed a source of random-seeming deserialization issues in ship systems that has been around forever.
** Essentially, it was possible for the number of targets that a system has to be altered right as the data was being written to the network, or even to a savegame. Honestly I'm surprised this has not corrupted any saves.
** All of this has been moved into methods that are protected by locks, and which try to use as minimal locks as possible while still providing full protection.

Issue History

Date Modified Username Field Change
Mar 2, 2022 10:55 am Tuntematon New Issue
Mar 2, 2022 10:55 am Tuntematon File Added: Player.log
Mar 2, 2022 10:55 am Tuntematon File Added: ArcenDebugLog.txt
Mar 2, 2022 10:56 am Tuntematon Relationship added related to 0026570
Mar 2, 2022 12:02 pm Chris_McElligottPark Relationship added related to 0026548
Mar 2, 2022 12:04 pm Chris_McElligottPark Note Added: 0065026
Mar 2, 2022 12:06 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Mar 2, 2022 12:06 pm Chris_McElligottPark Status new => assigned
Mar 2, 2022 4:28 pm Tuntematon Note Added: 0065029
Mar 2, 2022 4:41 pm Chris_McElligottPark Status assigned => resolved
Mar 2, 2022 4:41 pm Chris_McElligottPark Resolution open => fixed
Mar 2, 2022 4:41 pm Chris_McElligottPark Fixed in Version => Beta 3.906 Release Candidate 3
Mar 2, 2022 4:41 pm Chris_McElligottPark Note Added: 0065032