View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0023754 | AI War 2 | Crash/Exception | Sep 16, 2020 3:23 pm | Sep 16, 2020 5:48 pm | |
Reporter | GreatYng | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 2.505 Multiplayer Alpha Starts, Take Two | ||||
Fixed in Version | 2.507 Bugfixes | ||||
Summary | 0023754: NullReferenceException when loading ships into transport | ||||
Description | No idea if it's actually related to that, but that's what I was doing at the time. | ||||
Tags | No tags attached. | ||||
|
NullRefException.txt (8,654 bytes)
9/14/2020 11:33:42 PM Exception in selection info text generation:System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.Engine_AIW2.DoForSelected (Arcen.AIW2.Core.SelectionCommandScope Scope, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x000ab] in <9757705a13bb407c8a16137834ff7361>:0 at Arcen.AIW2.External.Window_InGameSelectionInfo+customParent.OnUpdateSelected (System.Single& currentY) [0x000a3] in <05670db6d2234088b318ce79c71771c5>: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 <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.AIW2.External.Window_InGameSelectionInfo+customParent.OnUpdateSelected (System.Single& currentY) [0x00000] in <05670db6d2234088b318ce79c71771c5>:0 at Arcen.AIW2.External.Window_InGameSelectionInfo+customParent.OnUpdate () [0x00000] in <05670db6d2234088b318ce79c71771c5>:0 at Arcen.Universal.ArcenUI_CustomUI.OnUpdate_Subclass (System.Single DeltaTime) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenUI_Element.UpdateFromUI (System.Boolean ShouldDoFullUpdate, System.Single DeltaTime) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenUI.OnUpdateFromMainThread () [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <9757705a13bb407c8a16137834ff7361>:0 at ArcenGameController.Update () [0x00000] in <342846c60ad043638e2ec80b42611e65>:0 9/14/2020 11:40:42 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 <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.External.PlanetExtensions+<>c__DisplayClass5_0.<GetIsPlacementPointSafe>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) (at <05670db6d2234088b318ce79c71771c5>:0) Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.External.PlanetExtensions.GetIsPlacementPointSafe (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint Point, System.Boolean OutrightIgnoreMobileUnits) (at <05670db6d2234088b318ce79c71771c5>:0) Arcen.AIW2.ExternalVisualization.PlanetViewSelector.DrawCursorStateForPlanetView (System.Boolean IsHoveringOverEntity) (at <354eef79639f425c8bce73ecf37e663b>:0) Arcen.AIW2.ExternalVisualization.PlanetViewSelector.RunUpdate () (at <354eef79639f425c8bce73ecf37e663b>:0) SelectionManager.Update () (at <f258b5de21ca486c80cd46f49e67be5b>: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 <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <f2d9bfd81cd243c587e2f9b06b7a4c89>:0 9/14/2020 11:40:42 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 <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.External.PlanetExtensions+<>c__DisplayClass5_0.<GetIsPlacementPointSafe>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) (at <05670db6d2234088b318ce79c71771c5>:0) Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.External.PlanetExtensions.GetIsPlacementPointSafe (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint Point, System.Boolean OutrightIgnoreMobileUnits) (at <05670db6d2234088b318ce79c71771c5>:0) Arcen.AIW2.ExternalVisualization.PlanetViewSelector.DrawCursorStateForPlanetView (System.Boolean IsHoveringOverEntity) (at <354eef79639f425c8bce73ecf37e663b>:0) Arcen.AIW2.ExternalVisualization.PlanetViewSelector.RunUpdate () (at <354eef79639f425c8bce73ecf37e663b>:0) SelectionManager.Update () (at <f258b5de21ca486c80cd46f49e67be5b>: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 <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.WriteToErrorFile (System.String ErrorFile, System.String ErrorName, System.String ErrorText, System.Boolean SuppressArcenDebugLog) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.WriteToErrorFile (System.String ErrorFile, System.String ErrorName, System.String ErrorText) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.LogWritten (System.String LogString, System.String StackTrace, UnityEngine.LogType Type, System.Exception Cause, System.Boolean CameFromUnity) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at Arcen.Universal.Engine_Universal.LogWrittenFromUnity (System.String LogString, System.String StackTrace, UnityEngine.LogType Type) [0x00000] in <2a29ab673a6f40acbea2d02afd1513f0>:0 at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00000] in <f2d9bfd81cd243c587e2f9b06b7a4c89>:0 |
|
Exception in selection info text generation:System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.Engine_AIW2.DoForSelected (Arcen.AIW2.Core.SelectionCommandScope Scope, Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x000ab] in <9757705a13bb407c8a16137834ff7361>:0 at Arcen.AIW2.External.Window_InGameSelectionInfo+customParent.OnUpdateSelected (System.Single& currentY) [0x000a3] in <05670db6d2234088b318ce79c71771c5>:0 at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 and then 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 <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.Core.GameEntity_Squad.GetIsWithinRangeOf (Arcen.Universal.ArcenPoint Point, System.Int32 ExtraDistanceAllowed) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.External.PlanetExtensions+<>c__DisplayClass5_0.<GetIsPlacementPointSafe>b__0 (Arcen.AIW2.Core.GameEntity_Squad entity) (at <05670db6d2234088b318ce79c71771c5>:0) Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.Core.Planet.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) (at <9757705a13bb407c8a16137834ff7361>:0) Arcen.AIW2.External.PlanetExtensions.GetIsPlacementPointSafe (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.GameEntityTypeData EntityTypeToPlace, Arcen.Universal.ArcenPoint Point, System.Boolean OutrightIgnoreMobileUnits) (at <05670db6d2234088b318ce79c71771c5>:0) Arcen.AIW2.ExternalVisualization.PlanetViewSelector.DrawCursorStateForPlanetView (System.Boolean IsHoveringOverEntity) (at <354eef79639f425c8bce73ecf37e663b>:0) |
|
Thanks! * Fixed several cross-threading bugs that could happen in GetIsWithinRangeOf() or GetIsWithinRangeOf_VeryBasicCheckOnly(). Also fixed the first one, which was also reported accidentally by someone else today in another report log. :) |
Date Modified | Username | Field | Change |
---|---|---|---|
Sep 16, 2020 3:23 pm | GreatYng | New Issue | |
Sep 16, 2020 3:23 pm | GreatYng | File Added: NullRefException.txt | |
Sep 16, 2020 3:46 pm | BadgerBadger | Note Added: 0058543 | |
Sep 16, 2020 5:48 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Sep 16, 2020 5:48 pm | Chris_McElligottPark | Status | new => resolved |
Sep 16, 2020 5:48 pm | Chris_McElligottPark | Resolution | open => fixed |
Sep 16, 2020 5:48 pm | Chris_McElligottPark | Fixed in Version | => 2.507 Bugfixes |
Sep 16, 2020 5:48 pm | Chris_McElligottPark | Note Added: 0058552 |