[Gameplay Bug][2 units in same location][7.1.8]

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9582
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

[Gameplay Bug][2 units in same location][7.1.8]

Post by Erik2 »

Multiplayer game where one Italian and one British unit occupy the same location at start of the turn.
double booking.jpg
double booking.jpg (189.5 KiB) Viewed 528 times
Horst
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1927
Joined: Mon Feb 18, 2013 1:22 pm

Re: [Gameplay Bug][2 units in same location][7.1.8]

Post by Horst »

It's an elusive bug. I had no luck reproducing this somehow as it happened rather rarely in my SP-sessions too. It must have something to do with failing to retreat.
This was once an error log msg when it happened:

Code: Select all

IndexOutOfRangeException: Array index is out of range.
  at RetreatHex.FindInRange (.Unit unit, .Hex attackHex, Int32 range, System.Int32& efficiencyLoss, .GameState gameState) [0x00000] in <filename unknown>:0 
  at GroundAttack.Execute (.Unit attacker, .Hex fromHex, .Hex location, .Unit defender, Boolean ambush, Int32 specialAttack, Int32 blast, Boolean simulate, .GameState gameState) [0x00000] in <filename unknown>:0 
  at Combat.CalculateDamage (.Unit attacker, .Unit defender, .Hex fromHex, .Hex location, Boolean ambush, Int32 specialAttack, Int32 blast, Boolean simulate, .GameState gameState) [0x00000] in <filename unknown>:0 
  at Combat.ResolveSingleCombat (.Unit attacker, .Unit defender, .Hex fromHex, .Hex location, Boolean ambush, Int32 specialAttack, Int32 blast, .GameState gameState) [0x00000] in <filename unknown>:0 
  at Combat.ResolveCombat (.Unit attacker, .Unit defender, .Hex fromHex, .Hex location, Boolean ambush, Int32 specialAttack, .GameState gameState) [0x00000] in <filename unknown>:0 
  at Combat.ResolveCombat (.Unit attacker, .Unit defender, .Hex location, Boolean ambush, Int32 specialAttack, .GameState gameState) [0x00000] in <filename unknown>:0 
  at ActionsNamespace.AttackUnitAction.Perform (.GameState gameState, Boolean checkVisibility, .Alliance visibilityAlliance) [0x00000] in <filename unknown>:0 
  at ActionsNamespace.Action.Perform (.GameState gameState) [0x00000] in <filename unknown>:0 
  at StateTree.BuildStateTreeWorker () [0x00000] in <filename unknown>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
ErrorLogger:HandleThreadedException(Exception)
StateTree:BuildStateTreeWorker()
StateTree:Build()
StateTree:Build(Int32&)
AITask:EvaluateFinalStateValue(SimulatedGameState, GameState, Int32&, Double, Int32)
StateTree:BuildSubTreeWorker(Boolean)
StateTree:BuildSubTreeWorker()
Post Reply

Return to “Order of Battle Bug Submissions”