Jump to content

When building oil engine rocket, add solid oxidant bin, causing the game to crash


Rlake_1
  • Branch: Preview Branch Version: Windows Fixed

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


Steps to Reproduce

When building oil engine rocket, add solid oxidant bin, causing the game to crash




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.


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...