Error Generated: Kobold caves, auto walking

Issue #486 resolved
Former user created an issue

I was auto-walking to descend to the 2nd level of kobold caves, and at the end of my walk the following was generated:

Ultimate ADOM - Caverns of Chaos Version 0.7.5 - 3/31/2021 8:18:42 AM

Asynchronous execution crashed.

Originating error sequence: Object reference not set to an instance of an object

Inner-most stack trace:

at UA.GameEngine.ECS.Systems.Brains.Player.PlayerBrain.IsGoingToMoveToPositionDuringPathfindingDetailImplementation (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position finalTarget) [0x00054] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.Brains.BrainBase.IsGoingToMoveToPositionDuringPathfinding (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position finalTarget) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem.IsPermissiblePosition (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Entities.IEntity mover, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position target, UA.GameEngine.ECS.Systems.PathFinding.PathFindingMode pathFindingMode) [0x00006] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem+<>c__DisplayClass11_0.<FindAStarPath>b__0 (UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFinder.FindPath (UA.GameEngine.ECS.Systems.PathFinding.PathFindingGrid grid, UA.GameEngine.ECS.Systems.PathFinding.Position start, UA.GameEngine.ECS.Systems.PathFinding.Position end, UA.GameEngine.ECS.Systems.PathFinding.Offset[] movementPattern, System.Func3[T1,T2,TResult] isValidPosition, System.Boolean shuffleNeighbors) [0x001be] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingGrid.GetPath (UA.GameEngine.ECS.Systems.PathFinding.Position start, UA.GameEngine.ECS.Systems.PathFinding.Position end, UA.GameEngine.ECS.Systems.PathFinding.Offset[] movementPattern, System.Func3[T1,T2,TResult] isValidPosition, System.Boolean shuffleNeighbors) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingBase.FindPath (System.Boolean penetrateSolid, System.Boolean straightMovesOnly, System.Boolean shuffleNeighbors, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, System.Func3[T1,T2,TResult] isValidPosition) [0x0005c] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.ZoneMaps.ZoneMapReference.FindPath (System.Boolean penetrateSolid, System.Boolean straightMovesOnly, System.Boolean shuffleNeighbors, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, System.Func3[T1,T2,TResult] isValidPosition) [0x00006] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem.FindAStarPath (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Entities.IEntity mover, UA.GameEngine.ECS.Systems.PathFinding.Position target, UA.GameEngine.ECS.Systems.PathFinding.PathFindingMode pathFindingMode, System.Boolean straightMovementsOnly, System.Boolean shuffleNeighbors) [0x000a8] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.PlayerActionPath..ctor (UA.GameEngine.ECS.Systems.PathFinding.Position position, System.Boolean activateDebugging) [0x00118] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.FindPlayerActionPath (UA.GameEngine.ECS.Systems.PathFinding.Position position, System.Boolean activateDebugging) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.CalculateCursorHintFor (UA.GameEngine.ECS.Systems.PathFinding.Position position) [0x001d0] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem+<>c__DisplayClass57_0.<ProcessCursorHint>b__0 () [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.Bus.UltimateUserInterfaceGameEngineServiceBus+<>c__DisplayClass28_0`1[T].<QueryAsynchronouslyAndPostProcess>b__0 () [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0

Outer stack trace:

at UA.GameEngine.ECS.Systems.Brains.Player.PlayerBrain.IsGoingToMoveToPositionDuringPathfindingDetailImplementation (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position finalTarget) [0x00054] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.Brains.BrainBase.IsGoingToMoveToPositionDuringPathfinding (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position finalTarget) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem.IsPermissiblePosition (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Entities.IEntity mover, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position target, UA.GameEngine.ECS.Systems.PathFinding.PathFindingMode pathFindingMode) [0x00006] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem+<>c__DisplayClass11_0.<FindAStarPath>b__0 (UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFinder.FindPath (UA.GameEngine.ECS.Systems.PathFinding.PathFindingGrid grid, UA.GameEngine.ECS.Systems.PathFinding.Position start, UA.GameEngine.ECS.Systems.PathFinding.Position end, UA.GameEngine.ECS.Systems.PathFinding.Offset[] movementPattern, System.Func3[T1,T2,TResult] isValidPosition, System.Boolean shuffleNeighbors) [0x001be] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingGrid.GetPath (UA.GameEngine.ECS.Systems.PathFinding.Position start, UA.GameEngine.ECS.Systems.PathFinding.Position end, UA.GameEngine.ECS.Systems.PathFinding.Offset[] movementPattern, System.Func3[T1,T2,TResult] isValidPosition, System.Boolean shuffleNeighbors) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingBase.FindPath (System.Boolean penetrateSolid, System.Boolean straightMovesOnly, System.Boolean shuffleNeighbors, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, System.Func3[T1,T2,TResult] isValidPosition) [0x0005c] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.ZoneMaps.ZoneMapReference.FindPath (System.Boolean penetrateSolid, System.Boolean straightMovesOnly, System.Boolean shuffleNeighbors, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, System.Func3[T1,T2,TResult] isValidPosition) [0x00006] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem.FindAStarPath (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Entities.IEntity mover, UA.GameEngine.ECS.Systems.PathFinding.Position target, UA.GameEngine.ECS.Systems.PathFinding.PathFindingMode pathFindingMode, System.Boolean straightMovementsOnly, System.Boolean shuffleNeighbors) [0x000a8] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.PlayerActionPath..ctor (UA.GameEngine.ECS.Systems.PathFinding.Position position, System.Boolean activateDebugging) [0x00118] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.FindPlayerActionPath (UA.GameEngine.ECS.Systems.PathFinding.Position position, System.Boolean activateDebugging) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.CalculateCursorHintFor (UA.GameEngine.ECS.Systems.PathFinding.Position position) [0x001d0] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem+<>c__DisplayClass57_0.<ProcessCursorHint>b__0 () [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.Bus.UltimateUserInterfaceGameEngineServiceBus+<>c__DisplayClass28_0`1[T].<QueryAsynchronouslyAndPostProcess>b__0 () [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0

Object reference not set to an instance of an object

System.NullReferenceException: Object reference not set to an instance of an object at UA.GameEngine.ECS.Systems.Brains.Player.PlayerBrain.IsGoingToMoveToPositionDuringPathfindingDetailImplementation (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position finalTarget) [0x00054] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.Brains.BrainBase.IsGoingToMoveToPositionDuringPathfinding (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position finalTarget) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem.IsPermissiblePosition (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Entities.IEntity mover, UA.GameEngine.ECS.Systems.ZoneMaps.IZoneMap map, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, UA.GameEngine.ECS.Systems.PathFinding.Position target, UA.GameEngine.ECS.Systems.PathFinding.PathFindingMode pathFindingMode) [0x00006] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem+<>c__DisplayClass11_0.<FindAStarPath>b__0 (UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFinder.FindPath (UA.GameEngine.ECS.Systems.PathFinding.PathFindingGrid grid, UA.GameEngine.ECS.Systems.PathFinding.Position start, UA.GameEngine.ECS.Systems.PathFinding.Position end, UA.GameEngine.ECS.Systems.PathFinding.Offset[] movementPattern, System.Func3[T1,T2,TResult] isValidPosition, System.Boolean shuffleNeighbors) [0x001be] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingGrid.GetPath (UA.GameEngine.ECS.Systems.PathFinding.Position start, UA.GameEngine.ECS.Systems.PathFinding.Position end, UA.GameEngine.ECS.Systems.PathFinding.Offset[] movementPattern, System.Func3[T1,T2,TResult] isValidPosition, System.Boolean shuffleNeighbors) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingBase.FindPath (System.Boolean penetrateSolid, System.Boolean straightMovesOnly, System.Boolean shuffleNeighbors, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, System.Func3[T1,T2,TResult] isValidPosition) [0x0005c] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.ZoneMaps.ZoneMapReference.FindPath (System.Boolean penetrateSolid, System.Boolean straightMovesOnly, System.Boolean shuffleNeighbors, UA.GameEngine.ECS.Systems.PathFinding.Position from, UA.GameEngine.ECS.Systems.PathFinding.Position to, System.Func3[T1,T2,TResult] isValidPosition) [0x00006] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.PathFinding.PathFindingSystem.FindAStarPath (UA.GameEngine.ECS.Systems.PathFinding.PathFindingIntention intention, UA.GameEngine.ECS.Entities.IEntity mover, UA.GameEngine.ECS.Systems.PathFinding.Position target, UA.GameEngine.ECS.Systems.PathFinding.PathFindingMode pathFindingMode, System.Boolean straightMovementsOnly, System.Boolean shuffleNeighbors) [0x000a8] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.PlayerActionPath..ctor (UA.GameEngine.ECS.Systems.PathFinding.Position position, System.Boolean activateDebugging) [0x00118] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.FindPlayerActionPath (UA.GameEngine.ECS.Systems.PathFinding.Position position, System.Boolean activateDebugging) [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem.CalculateCursorHintFor (UA.GameEngine.ECS.Systems.PathFinding.Position position) [0x001d0] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.GameEngine.ECS.Systems.GameCommands.GameCommandSystem+<>c__DisplayClass57_0.<ProcessCursorHint>b__0 () [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0 at UA.Bus.UltimateUserInterfaceGameEngineServiceBus+<>c__DisplayClass28_0`1[T].<QueryAsynchronouslyAndPostProcess>b__0 () [0x00000] in <eb9607699f5449ac948f140ce88e3b4c>:0

Comments (3)

  1. Log in to comment