Jump to content

A bug in the structure of the rocket causing the crash of the game

  • Branch: Live Branch Version: Windows Pending

When trying to build a rocket in a place where there was already a rocket, not disassembled to the end, the game crashes with a code:
NullReferenceException: Object reference not set to an instance of an object

ReorderableBuilding.RocketSpecificPostAdd (UnityEngine.GameObject obj, System.Int32 cell) (at <1726ad14e928409087f7fe566b21e0ff>:0)
ReorderableBuilding.AddModuleCommon (BuildingDef def, System.Collections.Generic.IList`1[T] buildMaterials, System.Int32 cell) (at <1726ad14e928409087f7fe566b21e0ff>:0)
ReorderableBuilding.AddModuleAbove (BuildingDef def, System.Collections.Generic.IList`1[T] buildMaterials) (at <1726ad14e928409087f7fe566b21e0ff>:0)
ReorderableBuilding.AddModule (BuildingDef def, System.Collections.Generic.IList`1[T] buildMaterials) (at <1726ad14e928409087f7fe566b21e0ff>:0)
SelectModuleSideScreen.OrderBuildSelectedModule () (at <1726ad14e928409087f7fe566b21e0ff>:0)
SelectModuleSideScreen.OnClickBuildSelectedModule () (at <1726ad14e928409087f7fe566b21e0ff>:0)
KButton.SignalClick (KKeyCode btn) (at <fa50cdddb14a483d94f547557a674a42>:0)
KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <fa50cdddb14a483d94f547557a674a42>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <0b23117e1c7442f8b1842fe2f3bf6fcb>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <0b23117e1c7442f8b1842fe2f3bf6fcb>:0)

Build: U44-537329-SD

Steps to Reproduce

image.thumb.png.ad9eb04416777babd2a6458cc9fd0742.png1. build rocket platform
2. built some rocket modules
3. Select the destruction mode and select all modules, including the rocket platform
4. Cancel the destruction of missile modules after the destruction of the missile platform
5. build rocket platform below the remaining rocket modules
6. Try to build any rocket module
Done! You crash the game =)

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

  • Create New...