View Issue Details

IDProjectCategoryLast Update
0019405AI War 2Crash/ExceptionFeb 8, 2018 9:50 am
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.705 
Fixed in Version0.706 
Summary0019405: changing between factions can cause a crash
DescriptionI enabled the Devourer Golem, then tried to change that faction slot directly to the Dyson Sphere. I immediately hit this crash

2/6/2018 3:33:32 PM
ErrorsReportedByEngine: -----------
FormatException: Input string was not in the correct format
Stack Trace: System.Int32.Parse (System.String s) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs:632)
Arcen.AIW2.External.Window_GameSetup+IntBasedCustomFactionFieldDropdown.get_SelectedItemAsType ()
Arcen.AIW2.External.Window_GameSetup+IntBasedCustomFactionFieldDropdown.OnUpdate ()
Arcen.Universal.ArcenUI_Dropdown.OnUpdate_Subclass ()
Arcen.Universal.ArcenUI_Element.UpdateFromUI ()
Arcen.Universal.ArcenUI_Window.OnUpdate ()
Arcen.Universal.ArcenUI.OnUpdate ()
Arcen.Universal.Engine_Universal.OnUpdate ()
ArcenGameController.Update () (at C:/vcprojs/arcengames_aiw_ultra/AIW2Unity/Assets/ArcenCode/ArcenGameController.cs:39)



   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)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at Arcen.Universal.Engine_Universal.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText, Boolean SuppressArcenDebugLog)
   at Arcen.Universal.Engine_Universal.WriteToErrorFile(System.String ErrorFile, System.String ErrorName, System.String ErrorText)
   at Arcen.Universal.Engine_Universal.LogWritten(System.String LogString, System.String StackTrace, LogType Type, System.Exception Cause, Boolean CameFromUnity)
   at Arcen.Universal.Engine_Universal.LogWrittenFromUnity(System.String LogString, System.String StackTrace, LogType Type)
   at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread) in /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/ApplicationBindings.gen.cs:line 564

2/6/2018 3:33:32 PM
Input string was not in the correct format
===PSUEDO INFO===
Method
Line 0
===STACK FRAMES (with file info)===
FILE METHOD IL_OFFSET NATIVE_OFFSET LINE_NUMBER COLUMN_NUMBER
/Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs Parse 20 86 632 0
    ProcessFactionConfigCustomFields 0 1391 0 0
    Create 0 167 0 0
    WorkThreadOnly_GenerateNewGame 0 458 0 0
    WorkThreadOnly_StartNewGame 0 60 0 0
===RAW STACK TRACE===
  at System.Int32.Parse (System.String s) [0x00014] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs:632
  at Arcen.AIW2.External.BaseSpecialFaction.ProcessFactionConfigCustomFields (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ConfigurationForFaction FactionConfig) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.Faction.Create (Arcen.AIW2.Core.ConfigurationForFaction FactionConfig) [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.Mapgen.WorkThreadOnly_GenerateNewGame () [0x00000] in <filename unknown>:0
  at Arcen.AIW2.Core.Engine_AIW2.WorkThreadOnly_StartNewGame () [0x00000] in <filename unknown>:0

   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)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, System.String message, Verbosity verbosity)
   at Arcen.Universal.ArcenDebugging.LogException(System.Exception e, Verbosity verbosity)
   at Arcen.AIW2.Core.Engine_AIW2.WorkThreadOnly_StartNewGame()
   at Arcen.AIW2.Core.Engine_AIW2+<>c__DisplayClass52_0.<StartWorkThread>b__0(System.Object <p0>)
TagsNo tags attached.

Activities

keith.lamothe

Feb 8, 2018 9:50 am

administrator   ~0046927

Fixed for 0.706, thanks :)

Issue History

Date Modified Username Field Change
Feb 6, 2018 3:35 pm BadgerBadger New Issue
Feb 6, 2018 3:35 pm BadgerBadger Status new => assigned
Feb 6, 2018 3:35 pm BadgerBadger Assigned To => keith.lamothe
Feb 8, 2018 9:50 am keith.lamothe Status assigned => resolved
Feb 8, 2018 9:50 am keith.lamothe Resolution open => fixed
Feb 8, 2018 9:50 am keith.lamothe Fixed in Version => 0.706
Feb 8, 2018 9:50 am keith.lamothe Note Added: 0046927