Jump to content

[Beta] Crash when choosing recipe on exosuit forge


RuiPalhas
  • Branch: Preview Branch Version: Windows Fixed

I'm having a weird crash when selecting the "repair atmo suit" recipe on the exosuit forge on my second planetoid - the game crashes immediately with a "NullReferenceException: Object reference not set to an instance of an object" error.

The weird part is that this only seems to happen on the very first playthrough after starting my machine up. If I reload the game after the crash, it doesn't happen. OK, today the crash happens again after reloading the game (yesterday it never did)

Active mods are:

- Fast save
- Mod Updater
- Mismatched Wire Finder

I'll try to do a bit more of diagnosing (like restarting the computer to check if it happens again and disabling mods) and add here what I find.

The 4 logs attached are for the three crashes I've had and the normal gameplay after the first crash yesterday.

The Bustling Cesspool-2 Cycle 2549.sav


Steps to Reproduce

I guess, have a exosuit forge on the second planet, click on it shortly after loading a game and select the repair suit recipe. Maybe?

With my save, go to Reekani, select the Exosuit forge and then the repair recipe and the crash should happen immediately




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.

It seems to be related to the mods, as the crash doesn't seem to happen with no mods enabled. I'll have to do some more digging tomorrow to try and pinpoint the culprit mod.

Share this comment


Link to comment
Share on other sites

Changed Status to Fixed

I don't believe it's mod related and it's fine to post this bug here. It seems that there's more than one way for this bug to occur. This crash can also occur if there are no living Duplicants and you click on the Exosuit Forge. It should be fixed in the next update but if you see it again please let us know.

  • Thanks 4

Share this comment


Link to comment
Share on other sites

I was on the beta branch for the Feb 2023 QOL and had this crash a few times. Same as OP, happens after a bit of playing in-game, never upon reloading. My exo-suit forge is on default planet, 18 dupes alive.

Error:

NullReferenceException: Object reference not set to an instance of an object
  at WearableAccessorizer.UpdateVisibleSymbols (WearableAccessorizer+WearableType wearableType) [0x000f5] in /home/build/workspace/game/Assets/scripts/components/WearableAccessorizer.cs:192 
  at WearableAccessorizer.ApplyWearable () [0x00147] in /home/build/workspace/game/Assets/scripts/components/WearableAccessorizer.cs:171 
  at WearableAccessorizer.ApplyClothingItems (System.Collections.Generic.IEnumerable`1[T] items) [0x000e6] in /home/build/workspace/game/Assets/scripts/components/WearableAccessorizer.cs:326 
  at FullBodyUIMinionWidget.UpdateClothingOverride (SymbolOverrideController symbolOverrideController, MinionIdentity identity, StoredMinionIdentity storedMinionIdentity) [0x0004c] in /home/build/workspace/game/Assets/scripts/ui/FullBodyUIMinionWidget.cs:160 
  at FullBodyUIMinionWidget.SetDefaultPortraitAnimator () [0x00114] in /home/build/workspace/game/Assets/scripts/ui/FullBodyUIMinionWidget.cs:67 
  at SelectedRecipeQueueScreen.RefreshMinionDisplayAnim () [0x00066] in /home/build/workspace/game/Assets/scripts/ui/SideScreens/SelectedRecipeQueueScreen.cs:143 
  at SelectedRecipeQueueScreen.ToggleAndRefreshMinionDisplay () [0x00001] in /home/build/workspace/game/Assets/scripts/ui/SideScreens/SelectedRecipeQueueScreen.cs:126 
  at SelectedRecipeQueueScreen.SetRecipe (ComplexFabricatorSideScreen owner, ComplexFabricator target, ComplexRecipe recipe) [0x000e0] in /home/build/workspace/game/Assets/scripts/ui/SideScreens/SelectedRecipeQueueScreen.cs:112 
  at ComplexFabricatorSideScreen.ToggleClicked (KToggle toggle) [0x000e0] in /home/build/workspace/game/Assets/scripts/ui/SideScreens/ComplexFabricatorSideScreen.cs:581 
  at ComplexFabricatorSideScreen+<>c__DisplayClass36_2.<Initialize>b__1 () [0x00001] in /home/build/workspace/game/Assets/scripts/ui/SideScreens/ComplexFabricatorSideScreen.cs:476 
  at Util.Signal (System.Action action) [0x0000a] in /home/build/workspace/game/Assets/Plugins/Klei/util/Util.cs:575 
  at KToggle.Click () [0x000df] in /home/build/workspace/game/Assets/Plugins/Klei/ui/KToggle.cs:79 
  at KToggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00048] in /home/build/workspace/game/Assets/Plugins/Klei/ui/KToggle.cs:123 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00001] in /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:50 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00074] in /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:262 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:266)
UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject) (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:187)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:642)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:548)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:528)
UnityEngine.EventSystems.StandaloneInputModule:Process() (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:282)
UnityEngine.EventSystems.EventSystem:Update() (at /home/build/workspace/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:385)

edit: This was in the beta branch. Live version does not have this bug anymore.

Edited by Undeadbanana

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