mooege/mooege — Issue #385: NullReference in Pathfinder
Author: loot
Created: 2011-12-09 16:20:24+00:00
State: open

Testing out some AI related things, added a MonsterBrain to the Monster class, wandering north up the bridge:

[Fatal] [Program]: Mooege terminating because of unhandled exception. - [Exception] System.NullReferenceException: Object reference not set to an instance of an object.
at Mooege.Core.GS.Actors.Actor.get_CurrentScene() in C:\mooege\src\Mooege\Core\GS\Actors\Actor.cs:line 68
at Mooege.Core.GS.AI.Pather.Pathfinder.FindPath(Actor actor, Vector3D Start, Vector3D Destination) in C:\mooege\src\Mooege\Core\GS\AI\Pathfinder.cs:line 99
at Mooege.Core.GS.AI.Pather.PathRequestTask.GetPath() in C:\mooege\src\Mooege\Core\GS\AI\Pathfinder.cs:line 252
at Mooege.Core.GS.AI.Pather.UpdateLoop() in C:\mooege\src\Mooege\Core\GS\AI\Pathfinder.cs:line 52
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()