Jump to content

[PTB] Crash on Build Order for Solo Spacefarer


tuxii
  • Branch: Preview Branch Version: Windows Fixed

Just ordering the build of the Solo Spacefarer immediately crashes the client.

IndexOutOfRangeException: Index was outside the bounds of the array.

Grid+ObjectLayerIndexer.get_Item (System.Int32 cell, System.Int32 layer) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Grid.cs:600)
BuildingDef.IsAreaClear (UnityEngine.GameObject source_go, System.Int32 cell, Orientation orientation, ObjectLayer layer, ObjectLayer tile_layer, System.Boolean replace_tile, System.String& fail_reason) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:530)
BuildingDef.IsValidPlaceLocation (UnityEngine.GameObject source_go, System.Int32 cell, Orientation orientation, System.Boolean replace_tile, System.String& fail_reason) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:1135)
BuildingDef.IsValidPlaceLocation (UnityEngine.GameObject source_go, UnityEngine.Vector3 pos, Orientation orientation, System.Boolean replace_tile, System.String& fail_reason) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:1063)
BuildingDef.TryPlace (UnityEngine.GameObject src_go, UnityEngine.Vector3 pos, Orientation orientation, System.Collections.Generic.IList`1[T] selected_elements, System.Int32 layer) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:415)
LaunchPad.AddBaseModule (BuildingDef moduleDefID, System.Collections.Generic.IList`1[T] elements) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Space/LaunchPad.cs:324)
SelectModuleSideScreen.OrderBuildSelectedModule () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/SideScreens/SelectModuleSideScreen.cs:669)
SelectModuleSideScreen.OnClickBuildSelectedModule () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/SideScreens/SelectModuleSideScreen.cs:245)
KButton.SignalClick (KKeyCode btn) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/ui/KButton.cs:89)
KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/ui/KButton.cs:130)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:262)
UnityEngine.EventSystems.EventSystem:Update() (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:385)

Build: U44-534208-S


Steps to Reproduce

I restarted my game and tried to build the Solo Spacefarer again and it crashed again.




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

I get the same error on any build orders on rocket platform.  I am also on the public testing branch

IndexOutOfRangeException: Index was outside the bounds of the array.

Grid+ObjectLayerIndexer.get_Item (System.Int32 cell, System.Int32 layer) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Grid.cs:600)
BuildingDef.IsAreaClear (UnityEngine.GameObject source_go, System.Int32 cell, Orientation orientation, ObjectLayer layer, ObjectLayer tile_layer, System.Boolean replace_tile, System.String& fail_reason) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:530)
BuildingDef.IsValidPlaceLocation (UnityEngine.GameObject source_go, System.Int32 cell, Orientation orientation, System.Boolean replace_tile, System.String& fail_reason) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:1135)
BuildingDef.IsValidPlaceLocation (UnityEngine.GameObject source_go, UnityEngine.Vector3 pos, Orientation orientation, System.Boolean replace_tile, System.String& fail_reason) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:1063)
BuildingDef.TryPlace (UnityEngine.GameObject src_go, UnityEngine.Vector3 pos, Orientation orientation, System.Collections.Generic.IList`1[T] selected_elements, System.Int32 layer) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:415)
ReorderableBuilding.AddModuleCommon (BuildingDef def, System.Collections.Generic.IList`1[T] buildMaterials, System.Int32 cell) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Buildings/ReorderableBuilding.cs:148)
ReorderableBuilding.AddModuleAbove (BuildingDef def, System.Collections.Generic.IList`1[T] buildMaterials) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Buildings/ReorderableBuilding.cs:118)
ReorderableBuilding.AddModule (BuildingDef def, System.Collections.Generic.IList`1[T] buildMaterials) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Buildings/ReorderableBuilding.cs:93)
SelectModuleSideScreen.OrderBuildSelectedModule () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/SideScreens/SelectModuleSideScreen.cs:660)
SelectModuleSideScreen.OnClickBuildSelectedModule () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/SideScreens/SelectModuleSideScreen.cs:245)
KButton.SignalClick (KKeyCode btn) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/ui/KButton.cs:89)
KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/ui/KButton.cs:130)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:262)
UnityEngine.EventSystems.EventSystem:Update() (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:385)

Build: U44-534208-S

Share this comment


Link to comment
Share on other sites

Similar problem here. Adding anything to my current rockets and instant crash.

Error: Index outside of the array

Build: U44-534208-S

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...