Skip to content

Instantly share code, notes, and snippets.

@R4to0
Created January 26, 2024 02:05
Show Gist options
  • Save R4to0/e52ba09c5ced1875201e0e412698d4dd to your computer and use it in GitHub Desktop.
Save R4to0/e52ba09c5ced1875201e0e412698d4dd to your computer and use it in GitHub Desktop.
NullReferenceException: Object reference not set to an instance of an object
at Pathfinding.LayerGridGraph.GetNearest (UnityEngine.Vector3 position, Pathfinding.NNConstraint constraint, Pathfinding.GraphNode hint) [0x00087] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.NavGraph.GetNearest (UnityEngine.Vector3 position, Pathfinding.NNConstraint constraint) [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.GridGraph.Linecast (UnityEngine.Vector3 from, UnityEngine.Vector3 to, Pathfinding.GraphNode hint, Pathfinding.GraphHitInfo& hit, System.Collections.Generic.List`1[T] trace) [0x00076] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.GridGraph.Linecast (UnityEngine.Vector3 from, UnityEngine.Vector3 to, Pathfinding.GraphNode hint, Pathfinding.GraphHitInfo& hit) [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.GridGraph.Linecast (UnityEngine.Vector3 from, UnityEngine.Vector3 to, Pathfinding.GraphNode hint) [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.RaycastModifier.ValidateLine (Pathfinding.GraphNode n1, Pathfinding.GraphNode n2, UnityEngine.Vector3 v1, UnityEngine.Vector3 v2) [0x001c9] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.RaycastModifier.ApplyGreedy (Pathfinding.Path p, System.Collections.Generic.List`1[T] points) [0x000c9] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.RaycastModifier.Apply (Pathfinding.Path p) [0x000c9] in <563f0f1eb41c40fea9446a51b230984a>:0
at PathSmoothing.Main+Patches__ASPPathFinder__OnPathFinished.Prefix (Pathfinding.Path& p) [0x0002a] in <bd3070d584a44658abc3eac828054a72>:0
at (wrapper dynamic-method) GamePath.ASPPathFinder.DMD<GamePath.ASPPathFinder::OnPathFinished>(GamePath.ASPPathFinder,Pathfinding.Path)
at Pathfinding.Path.ReturnPath () [0x00008] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.Path.Pathfinding.IPathInternals.ReturnPath () [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.PathReturnQueue.ReturnPaths (System.Boolean timeSlice) [0x0005b] in <563f0f1eb41c40fea9446a51b230984a>:0
at AstarPath.Update () [0x0003a] in <563f0f1eb41c40fea9446a51b230984a>:0
2024-01-25T22:16:27 155273.796 INF Time: 2574.01m FPS: 19.93 Heap: 2972.5MB Max: 4129.1MB Chunks: 539 CGO: 109 Ply: 1 Zom: 27 Ent: 37 (215) Items: 1 CO: 16 RSS: 3974.1MB
NullReferenceException: Object reference not set to an instance of an object
at Pathfinding.LayerGridGraph.GetNearest (UnityEngine.Vector3 position, Pathfinding.NNConstraint constraint, Pathfinding.GraphNode hint) [0x00087] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.NavGraph.GetNearest (UnityEngine.Vector3 position, Pathfinding.NNConstraint constraint) [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.GridGraph.Linecast (UnityEngine.Vector3 from, UnityEngine.Vector3 to, Pathfinding.GraphNode hint, Pathfinding.GraphHitInfo& hit, System.Collections.Generic.List`1[T] trace) [0x00076] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.GridGraph.Linecast (UnityEngine.Vector3 from, UnityEngine.Vector3 to, Pathfinding.GraphNode hint, Pathfinding.GraphHitInfo& hit) [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.GridGraph.Linecast (UnityEngine.Vector3 from, UnityEngine.Vector3 to, Pathfinding.GraphNode hint) [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.RaycastModifier.ValidateLine (Pathfinding.GraphNode n1, Pathfinding.GraphNode n2, UnityEngine.Vector3 v1, UnityEngine.Vector3 v2) [0x001c9] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.RaycastModifier.ApplyGreedy (Pathfinding.Path p, System.Collections.Generic.List`1[T] points) [0x000c9] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.RaycastModifier.Apply (Pathfinding.Path p) [0x000c9] in <563f0f1eb41c40fea9446a51b230984a>:0
at PathSmoothing.Main+Patches__ASPPathFinder__OnPathFinished.Prefix (Pathfinding.Path& p) [0x0002a] in <bd3070d584a44658abc3eac828054a72>:0
at (wrapper dynamic-method) GamePath.ASPPathFinder.DMD<GamePath.ASPPathFinder::OnPathFinished>(GamePath.ASPPathFinder,Pathfinding.Path)
at Pathfinding.Path.ReturnPath () [0x00008] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.Path.Pathfinding.IPathInternals.ReturnPath () [0x00000] in <563f0f1eb41c40fea9446a51b230984a>:0
at Pathfinding.PathReturnQueue.ReturnPaths (System.Boolean timeSlice) [0x0005b] in <563f0f1eb41c40fea9446a51b230984a>:0
at AstarPath.Update () [0x0003a] in <563f0f1eb41c40fea9446a51b230984a>:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment