A* Pathfinding Project

Broken in Unity 5.5


#1

The latest package (3.8.7) gives errors when imported into the recently-released Unity 5.5.

The error is:
Assets/AstarPathfindingProject/Generators/NavMeshGenerator.cs(442,4): error CS0103: The name `Profiler’ does not exist in the current context

(Also seems to be same error in Utilities/AstarProfiler)


Units not moving with AIPath unless given a nudge
#2

Hi

Are you sure that you are using 3.8.7? I know 3.8.6 gives those errors, but they should be fixed in 3.8.7.
In fact, I downloaded the latest pro version and opened it in Unity 5.5 and it shows no errors for me.


#3

Ah wait. Due to a configuration error the UNITY_5_5_OR_NEWER directive was stripped out of the free version.
I have uploaded a working version now.


#4

Awesome, thanks for the super speedy fix!


#5

here is a simple solution for this is to add using UnityEngine.Profiling; in top of script…
source http://unity3diy.blogspot.com/2017/04/the-name-profiler-does-not-exist-in.html