View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019134 | AI War 2 | Crash/Exception | May 29, 2017 8:46 pm | May 29, 2017 10:08 pm | |
Reporter | BadgerBadger | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.300 - Welcome Early Access Kickstarter Backers! | ||||
Summary | 0019134: Crash on pause game | ||||
Description | I was trying to pause a game in mid-combat on my first planet. There are some minor mods (tweaked my ark to make it more powerful so I can test fights after the first planet without it taking forever). I hit this exception when I hit "pause" 5/29/2017 8:44:28 PM Error occurred in sim planning context movePlanningContext System.DivideByZeroException: Division by zero at Arcen.Universal.FInt.op_Division (FInt one, FInt other) [0x00011] in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\ArcenMath\FInt.cs:129 at Arcen.AIW2.Core.MovementPlanning.PlanMovementForEntity (Arcen.AIW2.Core.GameEntity entity) [0x0006c] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\ShortTerm\Move\ mentPlanning.cs:42 at Arcen.AIW2.Core.EntityCollection.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x00067] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\G\ ameState\GameEntity\EntityCollection.cs:308 at Arcen.AIW2.Core.CombatEncounter.DoForEntities (GameEntityCategorySet Set, Arcen.AIW2.Core.ProcessorDelegate Processor) [0x0002b] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Ga\ meState\CombatEncounter\CombatEncounter.cs:422 at Arcen.AIW2.Core.MovementPlanning.Execute () [0x00080] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanning\ShortTerm\MovementPlanning.cs:26 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun () [0x0002d] in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:80 at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\Arcen\ Universal\src\UtilityLibraries\ArcenDebugging.cs:line 137 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibrar\ ies\ArcenDebugging.cs:line 109 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 88 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 84 at Arcen.AIW2.Core.ArcenShortTermPlanningContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 363 | ||||
Tags | No tags attached. | ||||
|
This is pretty reproducible but not 100% reproducible. I had to try a couple times to recreate it. One thing that was always present when I could reproduce the issue were some squads at less than full health. Incidentally, taking damage doesn't seem to actually reduce the number of ship models in the squad. I've seen squads that report "10/20 ships remaining" with 20 ship models still appearing. I haven't opened that as a problem since every time I try to reproduce that issue I hit this issue pausing the game to try to get a good screenshot. |
|
Also once you start hitting it there isn't a good way out, clicking "Ignore" just caused the problem to reproduce. I had to quit the game and start a new one. |
|
For 0.301: * Fixed a bug in the improvements to shot staggering that caused divide-by-zero errors when the game was paused (because it actually runs zero-length frames during that time so the game can still respond to you). Thanks :) |
Date Modified | Username | Field | Change |
---|---|---|---|
May 29, 2017 8:46 pm | BadgerBadger | New Issue | |
May 29, 2017 8:47 pm | BadgerBadger | Note Added: 0046202 | |
May 29, 2017 8:48 pm | BadgerBadger | Note Added: 0046203 | |
May 29, 2017 9:21 pm | Chris_McElligottPark | Assigned To | => keith.lamothe |
May 29, 2017 9:21 pm | Chris_McElligottPark | Status | new => assigned |
May 29, 2017 9:38 pm | BadgerBadger | Note Edited: 0046202 | |
May 29, 2017 10:08 pm | keith.lamothe | Note Added: 0046208 | |
May 29, 2017 10:08 pm | keith.lamothe | Status | assigned => resolved |
May 29, 2017 10:08 pm | keith.lamothe | Resolution | open => fixed |