Jump to content

Old savegame crashes three seconds after unpausing


SchlauFuchs
  • Branch: Preview Branch Version: Windows Fixed

NullReferenceException: Object reference not set to an instance of an object
  at KBatchedAnimController.SetBatchGroup (KAnimFileData kafd) [0x00090] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimController.cs:165 
  at KBatchedAnimController.LoadAnims () [0x000b0] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimController.cs:201 
  at KBatchedAnimController.OnAwake () [0x00001] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimController.cs:665 
  at KAnimControllerBase.Awake () [0x0003c] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KAnimControllerBase.cs:520 
UnityEngine.GameObject:SetActive(Boolean)
Substance:ActivateSubstanceGameObject(GameObject, Byte, Int32) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Substance.cs:116)
Storage:AddOre(SimHashes, Single, Single, Byte, Int32, Boolean, Boolean) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\components\Storage.cs:500)
Bee:OnDeath(Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\components\Bee.cs:43)
<>c:<.cctor>b__22_3(Bee, Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\components\Bee.cs:17)
IntraObjectHandler`1:Trigger(GameObject, Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:109)
EventSystem:Trigger(GameObject, Int32, Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:146)
EventExtensions:Trigger(GameObject, Int32, Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:533)
<>c__DisplayClass73_0:<TriggerOnEnter>b__0(Instance) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:1828)
GenericInstance:ExecuteActions(State, List`1) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:874)
GenericInstance:PushState(BaseState) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:833)
GenericInstance:GoTo(BaseState) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:1128)
EventTransitionData:ExecuteTransition(Instance) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:254)
EventTransitionData:OnCallback(Instance) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:264)
<>c__DisplayClass7_0:<Register>b__0(Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:280)
EventSystem:Trigger(GameObject, Int32, Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:170)
EventExtensions:Trigger(GameObject, Int32, Object) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:533)
KBatchedAnimController:TriggerStop() (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimController.cs:387)
KBatchedAnimController:UpdateFrame(Single) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimController.cs:345)
KBatchedAnimController:UpdateAnim(Single) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimController.cs:310)
KBatchedAnimUpdater:UpdateRegisteredAnims(LinkedList`1, Single) (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimUpdater.cs:274)
KBatchedAnimUpdater:LateUpdate() (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\animation\KBatchedAnimUpdater.cs:239)
Global:LateUpdate() (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Global.cs:815)

(Filename: C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/animation/KBatchedAnimController.cs Line: 165)

[00:22:04.045] [1] [INFO] Checking which steam branch we're on. Got: [public_testing]
OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at System.Array.Resize[T] (T[]& array, System.Int32 newSize) [0x00029] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at TMPro.TMP_TextInfo.Resize[T] (T[]& array, System.Int32 size, System.Boolean isBlockAllocated) [0x0002c] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\TextMesh Pro\Scripts\Runtime\TMP_TextInfo.cs:252 
  at TMPro.TextMeshProUGUI.SetArraySizes (System.Int32[] chars) [0x00157] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\TextMesh Pro\Scripts\Runtime\TMPro_UGUI_Private.cs:1070 
  at TMPro.TMP_Text.ParseInputText () [0x00055] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\TextMesh Pro\Scripts\Runtime\TMP_Text.cs:1698 
  at TMPro.TMP_Text.GetPreferredWidth () [0x0007b] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\TextMesh Pro\Scripts\Runtime\TMP_Text.cs:3491 
  at TMPro.TextMeshProUGUI.CalculateLayoutInputHorizontal () [0x00030] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\TextMesh Pro\Scripts\Runtime\TextMeshProUGUI.cs:93 
  at UnityEngine.UI.LayoutRebuilder+<>c.<Rebuild>b__12_0 (UnityEngine.Component e) [0x00000] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\Layout\LayoutRebuilder.cs:84 
  at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x00086] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\Layout\LayoutRebuilder.cs:159 
  at UnityEngine.UI.LayoutRebuilder.PerformLayoutCalculation (UnityEngine.RectTransform rect, UnityEngine.Events.UnityAction`1[T0] action) [0x0005a] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\Layout\LayoutRebuilder.cs:156 
  at UnityEngine.UI.LayoutRebuilder.Rebuild (UnityEngine.UI.CanvasUpdate executing) [0x0000e] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\Layout\LayoutRebuilder.cs:84 
  at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () [0x00068] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:182 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception, Object)
UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate() (at C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Library\PackageCache\com.unity.ugui@1.0.0\Runtime\UI\Core\CanvasUpdateRegistry.cs:186)
UnityEngine.Canvas:SendWillRenderCanvases()





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