Jump to content

[v1.3, V2.0 - Geoscape] (Main Base) CTD by trying to demolish Room with personnel inside


wulf 21

Recommended Posts

On trying to reproduce something else I have in my savegames and not sure how it happens (broken personnel slot buttons in Atlas base), I found a way that reliably makes the game crash.

  1. Start new game
  2. Place initial airbase anywhere
  3. Click "Main Base"
  4. Right click the workshop 4 times - this removes all 3 engineers and brings up the "Confirmation Required" window that asks if workshop should be demolished
  5. With the window open, left click the workshop 3 times - this adds all the engineers again
  6. In the "Confirmation Required" window click yes

Result: Crash To Desktop output.log

2018-12-16 09:46:38,301 [FATAL] (D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Screens\XenonautsMain.cs:441) 
A fatal error occurred during Update() - 
System.NullReferenceException: Object reference not set to an instance of an object
  at Xenonauts.Strategy.Data.SlotEffects.IncreaseTargetRangeByRatingSlotEffect.Revert (Artitas.Entity mainBase, Artitas.Entity unit, Artitas.Entity slot, Artitas.Entity building) [0x00009] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Screens\Strategy\Data\SlotEffects\IncreaseTargetRangeByRatingSlotEffect.cs:33 
  at Xenonauts.Strategy.Systems.BuildingsManagementSystem+<UpdatePersonnelSlotFSM>c__AnonStorey6+<UpdatePersonnelSlotFSM>c__AnonStorey5.<>m__0 () [0x0003c] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Screens\Strategy\Systems\Base\BuildingsManagementSystem.cs:458 
  at Artitas.Systems.DelayedTaskSystem.HandleTimeDelayedEvents (Artitas.Events.DeltaTimeEvent dtEvent) [0x00073] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\Systems\DelayedTaskSystem.cs:234 
  at (wrapper delegate-invoke) System.Action`2<Artitas.Systems.DelayedTaskSystem, Artitas.Events.DeltaTimeEvent>:invoke_void__this___DelayedTaskSystem_DeltaTimeEvent (Artitas.Systems.DelayedTaskSystem,Artitas.Events.DeltaTimeEvent)
  at Artitas.Core.Utils.ExpressionUtil+<ActionFromMethodInfoFactory>c__AnonStorey1`4[Artitas.Systems.EventSystem,Artitas.Events.DeltaTimeEvent,Artitas.Systems.DelayedTaskSystem,Artitas.IEvent].<>m__0 (Artitas.Systems.EventSystem target, IEvent param) [0x0001c] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\Utils\ExpressionUtil.cs:151 
  at Artitas.Systems.EventSystem.HandleSubscribers (IEvent event) [0x00050] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\Systems\EventSystem.cs:49 
  at Artitas.Systems.EventSystem.Handle (IEvent event) [0x00003] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\Systems\EventSystem.cs:26 
  at Artitas.DefaultProcessStrategy.Process (IEvent event) [0x001c6] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\World.cs:808 
  at Artitas.DefaultProcessStrategy.Process () [0x00024] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\World.cs:751 
  at Artitas.World.Process () [0x00007] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Artitas\Artitas.Core\Code\World.cs:621 
  at Common.Screens.DataStructures.WorldManagedScreen`2[Xenonauts.GameScreens,Common.Screens.DataStructures.IScreenParameters].Update (Single deltaTime) [0x00032] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Common\Code\Screen\DataStructures\WorldManagedScreen.cs:49 
  at Common.Screens.ScreenManager`1[Xenonauts.GameScreens].Update (Single deltaTime) [0x000f3] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Libraries\Common\Code\Screen\ScreenManager.cs:149 
  at Xenonauts.XenonautsMain.Update () [0x00066] in D:\Jenkins\workspace\X2 (Build)\hotfix-v0.34.1\Assets\Code\Screens\XenonautsMain.cs:438 

 

Edited by wulf 21
Typo
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...