[1.08 Beta 1638] Destination Array not long enough & Object reference not set to an instance of an object

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
Ryzo90
Posts: 35
Joined: Sun Mar 02, 2025 9:08 pm

[1.08 Beta 1638] Destination Array not long enough & Object reference not set to an instance of an object

Post by Ryzo90 »

On 1.08 Beta Build 1638 I attempted to run the benchmark scenario contained in another thread in the forums. Worked fine in 1.07 non-beta

PC Spec:
Win 10 Pro
Dual socket Xeon E5-2640V4
96GB RAM
GTX 970

Destination array was not long enough error occurs 20 times and causes the game to flag the error to the user:
06/05/2025 13:13:56 -- Bv1.08 Public Beta - Build 1638 -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at Command_Core.Aircraft_AirOps.GetPotentialTankers(Boolean& IsManual, ActiveUnit& ManuallySelectedUnit, Boolean MustBeAbleToReachItDirectly, List`1 theSelectedMissions, String& UserFeedback)
Call Stack & Error details:
Error at 200293: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.

This is also in the exceptionlog once or twice:
06/05/2025 13:15:09 -- Bv1.08 Public Beta - Build 1638 -- Object reference not set to an instance of an object. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Object reference not set to an instance of an object.
Stack Trace: at Command_Core.ActiveUnit_Weaponry.ExecuteWeaponSalvos(Single elapsedTime)
Call Stack & Error details:
Error at 200578: Object reference not set to an instance of an object.

This is the end of the exception log:
06/05/2025 13:19:38!!!WARNING!!! EXCEPTION FUSE REACHED (x20 exceptions) FOR : -- Bv1.08 Public Beta - Build 1638 -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at Command_Core.Aircraft_AirOps.GetPotentialTankers(Boolean& IsManual, ActiveUnit& ManuallySelectedUnit, Boolean MustBeAbleToReachItDirectly, List`1 theSelectedMissions, String& UserFeedback)
Call Stack & Error details:
Error at 200293: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.

06/05/2025 13:21:52 -- Bv1.08 Public Beta - Build 1638 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Command_Core.Aircraft_AI.DeterminePrimaryTarget(Single elapsedTime, Boolean IgnoreTimeToNextEvaluation, Boolean CheckCombatRadius)
Call Stack & Error details:
Error at 100377:

06/05/2025 13:21:52 -- Bv1.08 Public Beta - Build 1638 -- Collection was modified; enumeration operation may not execute. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Collection was modified; enumeration operation may not execute.
Stack Trace: at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Command_Core.Aircraft_AI.DeterminePrimaryTarget(Single elapsedTime, Boolean IgnoreTimeToNextEvaluation, Boolean CheckCombatRadius)
at Command_Core.GameGeneral.gBYTsvIwspI(Object , List`1 , Single )
Call Stack & Error details:
Error at 100377:
Error at 101264:
Ryzo90
Posts: 35
Joined: Sun Mar 02, 2025 9:08 pm

Re: [1.08 Beta 1638] Destination Array not long enough & Object reference not set to an instance of an object

Post by Ryzo90 »

Checking now - give me 5 mins
Ryzo90
Posts: 35
Joined: Sun Mar 02, 2025 9:08 pm

Re: [1.08 Beta 1638] Destination Array not long enough & Object reference not set to an instance of an object

Post by Ryzo90 »

Only happening once for each error now:

Build 1645 exception log entry:
06/05/2025 14:18:19 -- Bv1.08 Public Beta - Build 1645 -- Destination array was not long enough. Check destIndex and length, and the array's lower bounds. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
Stack Trace: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Collections.Generic.List`1.CopyTo(T[] array, Int32 arrayIndex)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at Command_Core.ActiveUnit_AI.EngageTargets(Single elapsedTime)
Call Stack & Error details:
Error at 100054:

06/05/2025 14:20:19 -- Bv1.08 Public Beta - Build 1645 -- Object reference not set to an instance of an object. -- Scen : -- DB : b383294e8525920ba56f90cc4c61d6a3d86781e0 -- Exception: Object reference not set to an instance of an object.
Stack Trace: at Command_Core.ActiveUnit_Weaponry.ExecuteWeaponSalvos(Single elapsedTime)
Call Stack & Error details:
Error at 200578: Object reference not set to an instance of an object.
Post Reply

Return to “Tech Support”