A* Pathfinding Project

Not working anymore on iOS devices (Unity 2018.3.2f1)


#1

Hello,

We have been using this plugin with Unity half a year ago in a published project, and with the last Unity update (2018.3.2f1), it works correctly on Android but not on iOS (In Editor always work).

Here is the xCode Log when installing it on our ipad (xCode 10.1)

**Uploading Crash Report**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**Unloading 173 unused Assets to reduce memory usage. Loaded Objects now: 41386.**

**Total: 77.979583 ms (FindLiveObjects: 2.370875 ms CreateObjectMapping: 0.567208 ms MarkObjects: 73.849375 ms DeleteObjects: 1.191583 ms)**

**Unloading 2 Unused Serialized files (Serialized files now loaded: 0)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 41386.**

**Total: 75.671542 ms (FindLiveObjects: 2.458250 ms CreateObjectMapping: 0.675708 ms MarkObjects: 72.484750 ms DeleteObjects: 0.052167 ms)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 

 

**(Filename: currently not available on il2cpp Line: -1)**

**NullReferenceException: Object reference not set to an instance of an object.**

**at Pathfinding.Util.ObjectPool`1[T].Release (T& obj) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ClearTile (System.Int32 x, System.Int32 z) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.NavmeshBase.ReplaceTile (System.Int32 x, System.Int32 z, Pathfinding.Int3[] verts, System.Int32[] tris) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.Util.TileHandler+<>c__DisplayClass41_0.<LoadTile>b__0 (Pathfinding.IWorkItemContext context, System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at Pathfinding.WorkItemProcessor.ProcessWorkItems (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.PerformBlockingActions (System.Boolean force) [0x00000] in <00000000000000000000000000000000>:0** 

**at AstarPath.Update () [0x00000] in <00000000000000000000000000000000>:0** 



Hope someone can help :slight_smile:
Thanks.


#2

Hi

I think this might be a Unity bug. Try to open the ObjectPool.cs file and swap these two lines (around line 38).

ObjectPoolSimple<T>.Release(ref obj);
tmp.OnEnterPool();

#3

Thanks for you answer!

Finally we are adapting it to the Unity navmesh, since we have been thinking about changing it for a long time, since it is quite advanced and stable now.

But your plugin has done a great job during these months, we are very grateful for your work! :slight_smile:

A greeting.

EDIT: This lines swap fixed it (maybe this helps someone :slight_smile: )


#4

Nice!
Annoying Unity compiler bugs…