Sign in to follow this  

Game crashes when building the Solo Spacefarer Nosecone


deang00
  • Branch: Preview Branch Version: Windows Pending

Error in HabitatModuleSmallUnderConstruction.Constructable.OnPrefabInit 
System.NullReferenceException: Object reference not set to an instance of an object
  at ConduitSecondaryInput.HasSecondaryConduitType (ConduitType type) [0x00001] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Buildings\Conduit.cs:290 
  at BuildingDef.MarkArea (System.Int32 cell, Orientation orientation, ObjectLayer layer, UnityEngine.GameObject go) [0x00333] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Defs\BuildingDef.cs:800 
  at Constructable.MarkArea () [0x00056] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\components\Constructable.cs:433 
  at Constructable.OnPrefabInit () [0x000d1] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\components\Constructable.cs:264 
  at KMonoBehaviour.InitializeComponent () [0x0007f] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\KMonoBehaviour.cs:132 

UnityEngine.Debug:LogError (object,UnityEngine.Object)
Debug:LogError (object,UnityEngine.Object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:152)
DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:191)
DebugUtil:LogException (UnityEngine.Object,string,System.Exception) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:201)
KMonoBehaviour:InitializeComponent () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:138)
KMonoBehaviour:Awake () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:44)
BuildingDef:Instantiate (UnityEngine.Vector3,Orientation,System.Collections.Generic.IList`1<Tag>,int) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:424)
BuildingDef:TryPlace (UnityEngine.GameObject,UnityEngine.Vector3,Orientation,System.Collections.Generic.IList`1<Tag>,int) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Defs/BuildingDef.cs:394)
ReorderableBuilding:AddModuleCommon (BuildingDef,System.Collections.Generic.IList`1<Tag>,int) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Buildings/ReorderableBuilding.cs:148)
ReorderableBuilding:AddModuleAbove (BuildingDef,System.Collections.Generic.IList`1<Tag>) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Buildings/ReorderableBuilding.cs:118)
ReorderableBuilding:AddModule (BuildingDef,System.Collections.Generic.IList`1<Tag>) (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:653)
SelectModuleSideScreen:OnClickBuildSelectedModule () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/SideScreens/SelectModuleSideScreen.cs:239)
KButton:SignalClick (KKeyCode) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/ui/KButton.cs:89)
KButton:OnPointerClick (UnityEngine.EventSystems.PointerEventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/ui/KButton.cs:130)
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: U34-475139-S


Steps to Reproduce

Build the Solo Spacefarer Nosecone

Sign in to follow this  


User Feedback


There are no comments to display.



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