View Issue Details

IDProjectCategoryLast Update
0023372AI War 2Bug - GameplayJul 10, 2020 11:45 am
ReporterLord Of Nothing Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version2.094 Devourers Everywhere 
Fixed in Version2.096 Space Engineering 
Summary0023372: ErrorsReportedByEngine (Modded game (SRS))
DescriptionJust had this come up in game. Only mod is the current included version of Spire Railgun Shop, but I don't think it did this - none of it's units are in use at the moment.
Savegame is just after the issue occurred, I did try a re-run but the issue did not replicate.

From the debug log:
7/9/2020 6:45:28 PM
-----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed, System.Int32& DistanceIfNotInRange) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.External.PlanetExtensions+<>c__DisplayClass5_0.<GetIsPlacementPointSafe>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) (at <75f2e362b9d74b6ba86f8cb0515dc8e6>:0)
Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.External.PlanetExtensions.GetIsPlacementPointSafe (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint Point, System.Boolean OutrightIgnoreMobileUnits) (at <75f2e362b9d74b6ba86f8cb0515dc8e6>:0)
Arcen.AIW2.ExternalVisualization.PlanetViewSelector.DrawCursorStateForPlanetView (System.Boolean IsHoveringOverEntity) (at <6110782d8cf440b6b3b1470eceadfcfa>:0)
Arcen.AIW2.ExternalVisualization.PlanetViewSelector.RunUpdate () (at <6110782d8cf440b6b3b1470eceadfcfa>:0)
SelectionManager.Update () (at <5ecc6aec997f4a6ab6e1a42e28b59209>:0)



  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <f2d9bfd81cd243c587e2f9b06b7a4c89>:0

7/9/2020 6:45:28 PM
ErrorsReportedByEngine: -----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed, System.Int32& DistanceIfNotInRange) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.External.PlanetExtensions+<>c__DisplayClass5_0.<GetIsPlacementPointSafe>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) (at <75f2e362b9d74b6ba86f8cb0515dc8e6>:0)
Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.External.PlanetExtensions.GetIsPlacementPointSafe (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint Point, System.Boolean OutrightIgnoreMobileUnits) (at <75f2e362b9d74b6ba86f8cb0515dc8e6>:0)
Arcen.AIW2.ExternalVisualization.PlanetViewSelector.DrawCursorStateForPlanetView (System.Boolean IsHoveringOverEntity) (at <6110782d8cf440b6b3b1470eceadfcfa>:0)
Arcen.AIW2.ExternalVisualization.PlanetViewSelector.RunUpdate () (at <6110782d8cf440b6b3b1470eceadfcfa>:0)
SelectionManager.Update () (at <5ecc6aec997f4a6ab6e1a42e28b59209>:0)



  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.Engine_Universal.WriteToErrorFile (System.String ErrorFile, System.String ErrorName, System.String ErrorText, System.Boolean SuppressArcenDebugLog) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.Engine_Universal.WriteToErrorFile (System.String ErrorFile, System.String ErrorName, System.String ErrorText) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <f31dddf09c8643469ec6eae39c31194f>:0
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <f2d9bfd81cd243c587e2f9b06b7a4c89>:0




And from the "ErrorsReportedby..." file:

7/9/2020 6:45:28 PM (2.094) Mem: 1,100,419,072 Mode: Host Plat:WindowsPlayer
-----------------------------------ErrorsReportedByEngine-----------------------------------
-----------
NullReferenceException: Object reference not set to an instance of an object
Stack Trace: Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed, System.Int32& DistanceIfNotInRange) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.External.PlanetExtensions+<>c__DisplayClass5_0.<GetIsPlacementPointSafe>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) (at <75f2e362b9d74b6ba86f8cb0515dc8e6>:0)
Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <39381486019e4dc9a24cd72c0e5247ad>:0)
Arcen.AIW2.External.PlanetExtensions.GetIsPlacementPointSafe (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint Point, System.Boolean OutrightIgnoreMobileUnits) (at <75f2e362b9d74b6ba86f8cb0515dc8e6>:0)
Arcen.AIW2.ExternalVisualization.PlanetViewSelector.DrawCursorStateForPlanetView (System.Boolean IsHoveringOverEntity) (at <6110782d8cf440b6b3b1470eceadfcfa>:0)
Arcen.AIW2.ExternalVisualization.PlanetViewSelector.RunUpdate () (at <6110782d8cf440b6b3b1470eceadfcfa>:0)
SelectionManager.Update () (at <5ecc6aec997f4a6ab6e1a42e28b59209>:0)
TagsNo tags attached.

Activities

Lord Of Nothing

Jul 9, 2020 1:57 pm

reporter  

Chris_McElligottPark

Jul 10, 2020 11:45 am

administrator   ~0057545

Thanks!

* Fixed a rare exception that could happen in GetIsWithinRangeOf().

Issue History

Date Modified Username Field Change
Jul 9, 2020 1:57 pm Lord Of Nothing New Issue
Jul 9, 2020 1:57 pm Lord Of Nothing File Added: Just After ErrorsReportedByEngine.save
Jul 9, 2020 1:57 pm Lord Of Nothing File Added: Just After ErrorsReportedByEngine.savemet
Jul 9, 2020 1:58 pm Lord Of Nothing Description Updated
Jul 10, 2020 11:45 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 10, 2020 11:45 am Chris_McElligottPark Status new => resolved
Jul 10, 2020 11:45 am Chris_McElligottPark Resolution open => fixed
Jul 10, 2020 11:45 am Chris_McElligottPark Fixed in Version => 2.096 Space Engineering
Jul 10, 2020 11:45 am Chris_McElligottPark Note Added: 0057545