Compilation error with entities 0.13.0

New entities package is out : 0.13.0 and A* 4.3.29 is broken.

Library\PackageCache\com.arongranberg.astar@4.3.29\Utilities\JobDependencyTracker.cs(649,91): error CS0234: The type or namespace name ‘Unsafe’ does not exist in the namespace ‘System.Runtime.CompilerServices’ (are you missing an assembly reference?)

With the 2020.1 release, I also updated the project and ended up in the same position. However, I was able to track it down. It’s actually because of the Collections 0.11.0 release. This release for some reason removed System.Runtime.CompilerServices.Unsafe.dll from the package, and that part of the code requires it. For now, I downgraded to collections to an older version (0.9.0), and it’s fixed, I assume it’ll probably be fixed in a later update of AStar.

Still an issue in 4.3.30 and Unity 2020.1.1f.

Commenting out line 649 of JobDependencyTracker.cs fixes it until the package manager verifies or regrabs the repo.

Is a fix coming? Or at least steps to take to permanently rectify, maybe?

Hi

Thanks! I have fixed this issue and it will be included in the next update.

3 Likes

Fix is working in 4.3.31. Thanks!

1 Like