Receiving error CS0103 in Ubuntu 16.04 LTS

Been checking out your A* Pathfinding asset, awesome work guys. I am new to the Unity3d\ Pathfinding world.

Opening a new project within Unity3d Linux version, i import the “PathfindingProject” unitypackage and receive

“AstarProfiler.cs(63,4): error CS0103: The name `Profiler’ does not exist in the current context”

and also

“NavMeshGenerator.cs(570,4): error CS0103: The name `Profiler’ does not exist in the current context”

Within my “Component” menu i do not see –>Pathfinding–>Pathfinder.

i have installed A* Pathfinding within Windows without an issue, is there something i am missing in Ubuntu?

Any help would be greatly appreciated.

Cheers

Hi

Profiler is a Unity built in class (https://docs.unity3d.com/ScriptReference/Profiler.html), I’m not sure why that would not be included, is it not included in the linux version?

That’s because you are getting the above compiler errors, when they are fixed it will show up.

1 Like

Thanks for your help aron,
After more testing, turns out i was only receiving the error after upgrading from unity 5.4.0p1 to 5.5.0b2:
i reinstalled 5.4.0p1 and A* pathfinding imports without an issue and i am able to continue with my project now.

A* is looking great for our project. Good job team.

Cheers,

1 Like

Found this looking for the same issue: http://forum.photonengine.com/discussion/8327/unity-5-5-0b3-gives-errors

Long story short - Add UnityEngine.Profiling to your name space and the error should go away.