Errors when updating to 5.2.0

Packages\com.arongranberg.astar\Graphs\Utilities\RecastNavmeshModifier.cs(313,8): error CS0538: ‘RecastMeshObj’ in explicit interface declaration is not an interface

Packages\com.arongranberg.astar\Graphs\Utilities\RecastNavmeshModifier.cs(314,8): error CS0538: ‘RecastMeshObj’ in explicit interface declaration is not an interface

Packages\com.arongranberg.astar\Graphs\Utilities\RecastNavmeshModifier.cs(315,18): error CS0538: ‘RecastMeshObj’ in explicit interface declaration is not an interface

Packages\com.arongranberg.astar\Graphs\Utilities\RecastNavmeshModifier.cs(316,17): error CS0538: ‘RecastMeshObj’ in explicit interface declaration is not an interface

Packages\com.arongranberg.astar\Graphs\Utilities\RecastNavmeshModifier.cs(317,7): error CS0538: ‘RecastMeshObj’ in explicit interface declaration is not an interface

Packages\com.arongranberg.astar\Graphs\Utilities\RecastNavmeshModifier.cs(318,8): error CS0538: ‘RecastMeshObj’ in explicit interface declaration is not an interface

Hi

I cannot replicate this. RecastMeshObj is an interface defined in the same file. Do you have a class with that name defined somewhere else too?

I don’t have it, I tried searching for the name RecastMeshObj but no results appeared.

I first updated Burst then A Pathfinding.

I’m using Unity version 6000.0.021f.

It should exist in the file mentioned in the stack trace.

Edit: A full remove and re-import fixed everything :slight_smile:

What do I do?

I updated through asset store package (not UPM) had to manually delete
Packages/com.arongranberg.astar/Graphs/Utilities/RecastMeshObj.cs Packages/com.arongranberg.astar/Editor/RecastMeshObjEditor.cs
Packages/com.arongranberg.astar/Utilities/DynamicGridObstacle.cs

I can’t remove it.

Ya, delete that RecastMeshObj, it was renamed. Same with the others I mentioned

There is a script named RecastMeshObj.

It worked, thank you very much.

Hi

Thanks. I have fixed this in 5.2.1, I believe.

From 5.2.0 (not working) to 5.2.1, at the import i’ve this warning:

and after import:

The following asset(s) located in immutable packages were unexpectedly altered. Making changes to immutable packages isn’t recommended because the changes can be lost without any warning during Package Manager operations.
Packages/com.arongranberg.astar/Core/ECS/Components/ManagedMovementOverride.cs

Works but i don’t know if my files are updated

The first warning is expected. Only way to deal with the horribleness that is unity packages.

The second one is unexpected, since I didn’t think unity would install it as an immutable package.
Are you using the custom npm repository installed via the website?

I installed 5.2.1 and now I got these errors:
Packages\com.arongranberg.astar\Core\AstarPath.cs(12,19): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshEdges.cs(1,19): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\Pathfinding\PathProcessor.cs(7,19): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildNodes.cs(2,19): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildTileMeshFromVertices.cs(8,19): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileBuilder.cs(5,19): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshPrefab.cs(9,20): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\Pathfinding\HierarchicalGraph.cs(14,20): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Graphs\RecastGraph.cs(12,20): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshEdges.cs(105,52): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshEdges.cs(21,3): error CS0246: The type or namespace name ‘SpinLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshEdges.cs(23,3): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshEdges.cs(142,18): error CS0246: The type or namespace name ‘SpinLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\RVO\RVOCoreSimulatorBurst.cs(13,20): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\RVO\RVOObstacleCache.cs(11,20): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshEdges.cs(142,28): error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type (‘SpinLock’)

Packages\com.arongranberg.astar\Core\Pathfinding\PathProcessor.cs(282,57): error CS0246: The type or namespace name ‘BlockableChannel<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Pathfinding\PathProcessor.cs(21,12): error CS0246: The type or namespace name ‘BlockableChannel<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Pathfinding\PathProcessor.cs(40,3): error CS0246: The type or namespace name ‘BlockableChannel<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshPrefab.cs(352,10): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshPrefab.cs(385,35): error CS0246: The type or namespace name ‘IProgress’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshPrefab.cs(386,11): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Misc\NavmeshPrefab.cs(400,11): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Pathfinding\HierarchicalGraph.cs(148,58): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\Pathfinding\HierarchicalGraph.cs(101,3): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\RVO\RVOCoreSimulatorBurst.cs(1079,10): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\RVO\RVOCoreSimulatorBurst.cs(1091,10): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\RVO\RVOCoreSimulatorBurst.cs(856,3): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\RVO\RVOObstacleCache.cs(214,292): error CS0246: The type or namespace name ‘SpinLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\RecastGraph.cs(867,17): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\RecastGraph.cs(867,57): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\RecastGraph.cs(867,95): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\RecastGraph.cs(1033,4): error CS0246: The type or namespace name ‘IProgress’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(14,20): error CS0234: The type or namespace name ‘Sync’ does not exist in the namespace ‘Pathfinding’ (are you missing an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildNodes.cs(46,70): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildNodes.cs(46,127): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildNodes.cs(46,10): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildNodes.cs(27,39): error CS0246: The type or namespace name ‘IProgress’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\Jobs\JobBuildTileMeshFromVertices.cs(42,17): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileBuilder.cs(237,10): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileBuilder.cs(42,36): error CS0246: The type or namespace name ‘IProgress’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(110,10): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(177,46): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(177,10): error CS0246: The type or namespace name ‘Promise<>’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Graphs\Navmesh\TileHandler.cs(42,36): error CS0305: Using the generic type ‘IProgress’ requires 1 type arguments

Packages\com.arongranberg.astar\Core\AstarPath.cs(2391,9): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\AstarPath.cs(2410,9): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\AstarPath.cs(2429,9): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\AstarPath.cs(2440,65): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

Packages\com.arongranberg.astar\Core\AstarPath.cs(565,2): error CS0246: The type or namespace name ‘RWLock’ could not be found (are you missing a using directive or an assembly reference?)

I reimported and the errors disappeared, everything worked.

Hi

5.2.2 is out now, which hopefully should fix this issue.

Please delete your previous installation before upgrading.

Yes, 5.2.2 works well!