View Issue Details

IDProjectCategoryLast Update
0028188Heart Of The MachineCrash/ExceptionMay 18, 2024 10:20 am
Reporterptarth Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Fixed in Version0.503 The Return Of Testers! 
Summary0028188: 'AndroidInvestigate' error at DebugStage 0 after 3rd investigation of a crop field
DescriptionOn the quest to investigate for food production. I lost 2 technicians during my first attempts at investigating (both were interrupted mid-investigation). After that I was able to successfully investigate the first 2 fields by dealing with the spawns. On the third and final investigation, I get " 'AndroidInvestigate' error at DebugStage 0" when I start the investigation. Save is from post-error.
TagsNo tags attached.

Activities

ptarth

May 18, 2024 1:12 am

reporter  

ErrorsReportedByEngine.txt (2,231 bytes)   
5/17/2024 7:28:16 PM (0.501) Mem: 802,013,184 Mode: Off Plat:WindowsPlayer
-----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.HotM.Core.MachineStructure.DoOnPostTakeDamage (Arcen.HotM.Core.ISimMapActor DamageSource, System.Int32 DamageAmount, Arcen.Universal.MersenneTwister Rand, System.Boolean ShouldDoDamageTextPopupsAndLogging) (at <ff0fcedf975b41859f48fb4d5384269f>:0)
Arcen.HotM.External.AttackHelper.HandleGeneralAttackLogic_Inner (Arcen.HotM.Core.ISimMapActor Attacker, Arcen.HotM.Core.ISimMapActor Target, Arcen.HotM.Core.CalculationType CalcType, Arcen.Universal.MersenneTwister RandIfNotPrediction, System.Single ExtraAttackMultiplier, System.String ExtraAttackReasonLang, System.Boolean CheckCloakedStatus, System.Boolean CheckTakeCoverStatus, System.Boolean ImagineWillBeInCover, System.Boolean ImagineAttackerWillHaveMoved, UnityEngine.Vector3 NewAttackerLocation, System.Int32 ImagineThisAmountOfAttackerHealthWasLost, System.Boolean DoFullPrecalculation, System.Int32 OverridingDamageAmount, System.Boolean SkipCaringAboutRange, Arcen.Universal.ArcenCharacterBufferBase BufferOrNull, Arcen.Universal.ArcenCharacterBufferBase SecondaryBufferOrNull) (at <86062b8a17eb469fac2661fcd58d0129>:0)
Arcen.HotM.External.AttackHelper.DoNPCDelayedAttack_UsePriorCalculation_PrimaryOrSecondary (Arcen.HotM.Core.ISimMapActor Attacker, Arcen.HotM.Core.ISimMapActor Target, Arcen.Universal.MersenneTwister RandIfNotPrediction, System.Int32 DamageAmountWeAlreadyCalculated) (at <86062b8a17eb469fac2661fcd58d0129>:0)
Arcen.HotM.External.NPCUnit+<>c__DisplayClass256_0.<AttackChosenTarget_MainThreadOnly>b__0 () (at <a2e62875a7d646aea2ba757b6490d185>:0)
Arcen.HotM.ExternalVis.Projectile_StraightShot+StraightShot.DoPerFrameUpdate (System.Single DeltaTime) (at <93e8229e6566446f9cabc4f663a7284a>:0)
Arcen.HotM.Visualization.VisParticleEffectPool.DoParticlePerFrameLogic (System.Single DeltaTime, System.Boolean& ShouldHaveInfiniteBuildingDrawDistance, System.Int32& travelingEffectCount, System.Int32& totalParticleEffectCount) (at <5e9b694a1efe478bb5bcb2bbd7b1c318>:0)
Arcen.HotM.Visualization.MainGameCoreGameLoop.Update () (at <5e9b694a1efe478bb5bcb2bbd7b1c318>:0)



ErrorsReportedByEngine.txt (2,231 bytes)   
HeartOfTheMachineLog.txt (14,707 bytes)   
5/17/2024 5:30:23 PM	SINGLEP	Opening Eyes (0.2454s)
5/17/2024 5:30:23 PM	SINGLEP	graphicsDeviceType in use: Direct3D11
graphicsDeviceVersion in use: Direct3D 11.0 [level 11.1]
graphicsMultiThreaded: False
graphicsShaderLevel: 50
operatingSystem: Windows 10  (10.0.19045) 64bit
graphicsDeviceName: NVIDIA GeForce GTX 1060 6GB
graphicsDeviceID: 7171
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.1]
graphicsMemorySize: 6043
maxTextureSize: 16384
npotSupport: Full
processorType: AMD Ryzen 7 2700 Eight-Core Processor 
processorCount: 16
processorFrequency: 3200
systemMemorySize: 16334
supportedRenderTargetCount: 8
supportsComputeShaders: True
supportsShadows: True
usesReversedZBuffer: True
5/17/2024 5:30:23 PM	SINGLEP	DELAYED1 TID1 Logged in for Steam build ID: 14396327
5/17/2024 5:30:23 PM	0.501	SINGLEP	Game Version: 0.501  (Main Game
5/17/2024 5:30:23 PM	0.501	SINGLEP	Examining Inner Self (0.1284s)
5/17/2024 5:30:24 PM	0.501	SINGLEP	Returning King (0.2907s)
5/17/2024 5:30:24 PM	0.501	SINGLEP	Found 450 xml files in 221 folders in 54ms
5/17/2024 5:30:24 PM	0.501	SINGLEP	Check For Extra Squires (0.6195s)
5/17/2024 5:30:24 PM	0.501	SINGLEP	450 Xml Files Parsed in 559ms
5/17/2024 5:30:24 PM	0.501	SINGLEP	Gather Ancient Lifeforms (0.0010s)
5/17/2024 5:30:24 PM	0.501	SINGLEP	Bring Ambassador To Dinner (0.0480s)
5/17/2024 5:30:24 PM	0.501	SINGLEP	Tried to load settings from disk, but could not find any contents in file: ???
  at System.Environment.get_StackTrace () [0x00000] in <9d9536d9127f4a489d989c7a566aee1c>:0 
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp, System.Single TimeToLast) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.ArcenDebugging.LogWithStack (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.GameSettings.LoadFromDisk () [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal+<LoadXmlData>d__124.MoveNext () [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <aa8a130777a0452aba2a2ed77148f1da>:0 

5/17/2024 5:30:24 PM	0.501	SINGLEP	Update mod and expansion statuses!
5/17/2024 5:30:24 PM	0.501	SINGLEP	Check Nearby Fiefdoms (0.0353s)
5/17/2024 5:30:25 PM	0.501	SINGLEP	No resolution change was required.
5/17/2024 5:30:25 PM	0.501	SINGLEP	Applied graphics settings: 
MSAAType:4x
SecondaryAAType:SMAAMed
UseSoftParticles:True
AnisotropicMode:Enable
ParticleRaycastBudget:64
PixelLightCount:1
Framerate Type:60FPS (vsync: 0 targetFPS:60)
5/17/2024 5:30:25 PM	0.501	SINGLEP	Disperse Diaspora (0.9684s)
5/17/2024 5:30:25 PM	0.501	SINGLEP	Wonder About Those Spiders (0.0831s)
5/17/2024 5:30:25 PM	0.501	SINGLEP	Reassure Self (0.0270s)
5/17/2024 5:30:26 PM	0.501	SINGLEP	Thinking Abstract Thoughts (0.3087s)
5/17/2024 5:30:29 PM	0.501	SINGLEP	Sound Search (3.3716s)
5/17/2024 5:30:29 PM	0.501	SINGLEP	Polishing Stones (0.0646s)
5/17/2024 5:30:29 PM	0.501	SINGLEP	Making Connections (0.2569s)
5/17/2024 5:30:29 PM	0.501	SINGLEP	6.5 seconds total load time.
Returning King (0.3s)
Check For Extra Squires (0.6s)
Disperse Diaspora (1.0s)
Thinking Abstract Thoughts (0.3s)
Sound Search (3.4s)
Making Connections (0.3s)
5/17/2024 5:30:30 PM	0.501	SINGLEP	Finished loading 5666 sprites from dictionaries! (2471 table rows waiting on them.)
5/17/2024 5:30:30 PM	0.501	SINGLEP	Linked all icons to rows in 17ms.
5/17/2024 5:30:31 PM	0.501	SINGLEP	Set secondary AA type on Main Camera to: SMAAMed
5/17/2024 5:30:30 PM	0.501	SINGLEP	DELAYED2 TID7 Finished loading all LevelType contents in 0.3s
5/17/2024 5:30:33 PM	0.501	SINGLEP	DoAfterLoadLogic!  Loaded 1068 level items, 55 categories, 20 external holders, 5 external LOD holders.
5/17/2024 5:30:33 PM	0.501	SINGLEP	Finished LoadAllVisSimpleObjectsOfAnySort()
5/17/2024 5:30:33 PM	0.501	SINGLEP	DELAYED3 TID31 9.6 seconds total load time and post-editing time.
5/17/2024 5:30:33 PM	0.501	SINGLEP	554 materials found.
5/17/2024 5:30:33 PM	0.501	SINGLEP	DELAYED4 TID25 1,463 pools initialized with 466,005 items in 578ms
5/17/2024 5:35:02 PM	0.501	SINGLEP	DELAYED5 TID13 Will generate map: 440 cells targeted. Existing tile count: 0
5/17/2024 5:35:09 PM	0.501	SINGLEP	DELAYED6 TID13 Generated names for 365 pois with missing names.
5/17/2024 5:35:09 PM	0.501	SINGLEP	DELAYED7 TID13 Finished FillAnyMissingSimBuildings, we had 34186 new buildings, and 34186 total items. SkippedBuildings: 0 AddedBuildings: 34186 CellCountChecked: 841
5/17/2024 5:35:09 PM	0.501	SINGLEP	DELAYED8 TID15 InitializePopulation WAS needed, 34186 buildings to handle.
5/17/2024 5:35:09 PM	0.501	SINGLEP	DELAYED9 TID13 Finished RunGameStartOnBGThread in 636ms.  We have 34186 total items.
5/17/2024 5:35:12 PM	0.501	SINGLEP	DELAYED10 TID13 Finished adding outdoor spots 841 cells, adding 34066 spots in the process.  This took 1,457ms
5/17/2024 5:35:13 PM	0.501	SINGLEP	DELAYED11 TID13 Finished adding initial NPC Guards for 375 pois, adding 510 guard NPCs in the process.  This took 967ms
5/17/2024 5:35:13 PM	0.501	SINGLEP	DELAYED12 TID14 World saved in 1,886 ms
5/17/2024 5:53:19 PM	0.501	SINGLEP	Resolution changed to windowed 1840x980
5/17/2024 5:53:19 PM	0.501	SINGLEP	Applied graphics settings: 
MSAAType:4x
SecondaryAAType:SMAAMed
UseSoftParticles:True
AnisotropicMode:Enable
ParticleRaycastBudget:64
PixelLightCount:1
Framerate Type:60FPS (vsync: 0 targetFPS:60)
5/17/2024 6:19:04 PM	0.501	SINGLEP	Set secondary AA type on Map Camera to: SMAAMed
5/17/2024 7:13:00 PM	0.501	SINGLEP	Set secondary AA type on Zodiac Camera to: SMAAMed
5/17/2024 7:13:02 PM	0.501	SINGLEP	Set secondary AA type on EndOfTime Camera to: SMAAMed
5/17/2024 7:28:16 PM	0.501	SINGLEP	-----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.HotM.Core.MachineStructure.DoOnPostTakeDamage (Arcen.HotM.Core.ISimMapActor DamageSource, System.Int32 DamageAmount, Arcen.Universal.MersenneTwister Rand, System.Boolean ShouldDoDamageTextPopupsAndLogging) (at <ff0fcedf975b41859f48fb4d5384269f>:0)
Arcen.HotM.External.AttackHelper.HandleGeneralAttackLogic_Inner (Arcen.HotM.Core.ISimMapActor Attacker, Arcen.HotM.Core.ISimMapActor Target, Arcen.HotM.Core.CalculationType CalcType, Arcen.Universal.MersenneTwister RandIfNotPrediction, System.Single ExtraAttackMultiplier, System.String ExtraAttackReasonLang, System.Boolean CheckCloakedStatus, System.Boolean CheckTakeCoverStatus, System.Boolean ImagineWillBeInCover, System.Boolean ImagineAttackerWillHaveMoved, UnityEngine.Vector3 NewAttackerLocation, System.Int32 ImagineThisAmountOfAttackerHealthWasLost, System.Boolean DoFullPrecalculation, System.Int32 OverridingDamageAmount, System.Boolean SkipCaringAboutRange, Arcen.Universal.ArcenCharacterBufferBase BufferOrNull, Arcen.Universal.ArcenCharacterBufferBase SecondaryBufferOrNull) (at <86062b8a17eb469fac2661fcd58d0129>:0)
Arcen.HotM.External.AttackHelper.DoNPCDelayedAttack_UsePriorCalculation_PrimaryOrSecondary (Arcen.HotM.Core.ISimMapActor Attacker, Arcen.HotM.Core.ISimMapActor Target, Arcen.Universal.MersenneTwister RandIfNotPrediction, System.Int32 DamageAmountWeAlreadyCalculated) (at <86062b8a17eb469fac2661fcd58d0129>:0)
Arcen.HotM.External.NPCUnit+<>c__DisplayClass256_0.<AttackChosenTarget_MainThreadOnly>b__0 () (at <a2e62875a7d646aea2ba757b6490d185>:0)
Arcen.HotM.ExternalVis.Projectile_StraightShot+StraightShot.DoPerFrameUpdate (System.Single DeltaTime) (at <93e8229e6566446f9cabc4f663a7284a>:0)
Arcen.HotM.Visualization.VisParticleEffectPool.DoParticlePerFrameLogic (System.Single DeltaTime, System.Boolean& ShouldHaveInfiniteBuildingDrawDistance, System.Int32& travelingEffectCount, System.Int32& totalParticleEffectCount) (at <5e9b694a1efe478bb5bcb2bbd7b1c318>:0)
Arcen.HotM.Visualization.MainGameCoreGameLoop.Update () (at <5e9b694a1efe478bb5bcb2bbd7b1c318>:0)


  at System.Environment.get_StackTrace () [0x00000] in <9d9536d9127f4a489d989c7a566aee1c>:0 
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp, System.Single TimeToLast) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.ArcenDebugging.LogWithStack (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <aa8a130777a0452aba2a2ed77148f1da>:0 

5/17/2024 7:28:16 PM	0.501	SINGLEP	:    -----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.HotM.Core.MachineStructure.DoOnPostTakeDamage (Arcen.HotM.Core.ISimMapActor DamageSource, System.Int32 DamageAmount, Arcen.Universal.MersenneTwister Rand, System.Boolean ShouldDoDamageTextPopupsAndLogging) (at <ff0fcedf975b41859f48fb4d5384269f>:0)
Arcen.HotM.External.AttackHelper.HandleGeneralAttackLogic_Inner (Arcen.HotM.Core.ISimMapActor Attacker, Arcen.HotM.Core.ISimMapActor Target, Arcen.HotM.Core.CalculationType CalcType, Arcen.Universal.MersenneTwister RandIfNotPrediction, System.Single ExtraAttackMultiplier, System.String ExtraAttackReasonLang, System.Boolean CheckCloakedStatus, System.Boolean CheckTakeCoverStatus, System.Boolean ImagineWillBeInCover, System.Boolean ImagineAttackerWillHaveMoved, UnityEngine.Vector3 NewAttackerLocation, System.Int32 ImagineThisAmountOfAttackerHealthWasLost, System.Boolean DoFullPrecalculation, System.Int32 OverridingDamageAmount, System.Boolean SkipCaringAboutRange, Arcen.Universal.ArcenCharacterBufferBase BufferOrNull, Arcen.Universal.ArcenCharacterBufferBase SecondaryBufferOrNull) (at <86062b8a17eb469fac2661fcd58d0129>:0)
Arcen.HotM.External.AttackHelper.DoNPCDelayedAttack_UsePriorCalculation_PrimaryOrSecondary (Arcen.HotM.Core.ISimMapActor Attacker, Arcen.HotM.Core.ISimMapActor Target, Arcen.Universal.MersenneTwister RandIfNotPrediction, System.Int32 DamageAmountWeAlreadyCalculated) (at <86062b8a17eb469fac2661fcd58d0129>:0)
Arcen.HotM.External.NPCUnit+<>c__DisplayClass256_0.<AttackChosenTarget_MainThreadOnly>b__0 () (at <a2e62875a7d646aea2ba757b6490d185>:0)
Arcen.HotM.ExternalVis.Projectile_StraightShot+StraightShot.DoPerFrameUpdate (System.Single DeltaTime) (at <93e8229e6566446f9cabc4f663a7284a>:0)
Arcen.HotM.Visualization.VisParticleEffectPool.DoParticlePerFrameLogic (System.Single DeltaTime, System.Boolean& ShouldHaveInfiniteBuildingDrawDistance, System.Int32& travelingEffectCount, System.Int32& totalParticleEffectCount) (at <5e9b694a1efe478bb5bcb2bbd7b1c318>:0)
Arcen.HotM.Visualization.MainGameCoreGameLoop.Update () (at <5e9b694a1efe478bb5bcb2bbd7b1c318>:0)


  at System.Environment.get_StackTrace () [0x00000] in <9d9536d9127f4a489d989c7a566aee1c>:0 
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp, System.Single TimeToLast) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.ArcenDebugging.LogWithStack (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal.WriteToErrorFile (System.String ErrorFile, System.String ErrorName, System.String ErrorText, System.Boolean SuppressArcenDebugLog) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal.WriteToErrorFile (System.String ErrorFile, System.String ErrorName, System.String ErrorText) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <2884378d8784433fb039b2cbc21eed92>:0 
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <aa8a130777a0452aba2a2ed77148f1da>:0 

5/17/2024 7:30:13 PM	0.501	SINGLEP	DELAYED13 TID17 World saved in 1,654 ms
5/17/2024 7:47:57 PM	0.501	SINGLEP	DELAYED14 TID32 World saved in 1,567 ms
5/17/2024 8:00:05 PM	0.501	SINGLEP	Resolution changed to windowed 1840x980
5/17/2024 8:00:05 PM	0.501	SINGLEP	Applied graphics settings: 
MSAAType:4x
SecondaryAAType:SMAAMed
UseSoftParticles:True
AnisotropicMode:Enable
ParticleRaycastBudget:64
PixelLightCount:1
Framerate Type:60FPS (vsync: 0 targetFPS:60)
5/17/2024 8:38:34 PM	0.501	SINGLEP	DELAYED15 TID37 World saved in 1,711 ms
5/17/2024 9:35:52 PM	0.501	SINGLEP	DELAYED16 TID6 World saved in 1,641 ms
5/17/2024 10:00:43 PM	0.501	SINGLEP	 'AndroidInvestigate' error at DebugStage 0
System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.HotM.Core.Investigation.InvestigateSpecificBuilding (Arcen.HotM.Core.ISimMachineUnit Unit, Arcen.HotM.Core.ISimBuilding BuildingToTest) [0x00061] in <ff0fcedf975b41859f48fb4d5384269f>:0 
  at Arcen.HotM.ExternalVis.LocActs_Basic.TryHandleLocationAction (Arcen.HotM.Core.ISimMachineActor Actor, Arcen.HotM.Core.ISimBuilding BuildingOrNull, UnityEngine.Vector3 ActionLocation, Arcen.HotM.Core.LocationActionType Action, Arcen.Universal.ArcenDoubleCharacterBuffer BufferOrNull, System.String OptionalID, Arcen.HotM.Core.ActionLogic Logic) [0x01f32] in <93e8229e6566446f9cabc4f663a7284a>:0 
5/17/2024 10:01:54 PM	0.501	SINGLEP	DELAYED17 TID27 World saved in 1,614 ms
HeartOfTheMachineLog.txt (14,707 bytes)   

Chris_McElligottPark

May 18, 2024 10:20 am

administrator   ~0068179

Thanks!

* Hardened the InvestigateSpecificBuilding method so that one error that might have been possible is no longer possible. Not sure if that was the error actually encountered.
** Also added in more direct instrumentation so that if this happens again, I'll know much more precisely what the problem is.

Issue History

Date Modified Username Field Change
May 18, 2024 1:12 am ptarth New Issue
May 18, 2024 1:12 am ptarth File Added: post-error-investigation.save
May 18, 2024 1:12 am ptarth File Added: ErrorsReportedByEngine.txt
May 18, 2024 1:12 am ptarth File Added: HeartOfTheMachineLog.txt
May 18, 2024 10:20 am Chris_McElligottPark Assigned To => Chris_McElligottPark
May 18, 2024 10:20 am Chris_McElligottPark Status new => resolved
May 18, 2024 10:20 am Chris_McElligottPark Resolution open => fixed
May 18, 2024 10:20 am Chris_McElligottPark Fixed in Version => 0.503 The Return Of Testers!
May 18, 2024 10:20 am Chris_McElligottPark Note Added: 0068179