Hi Aron,
This is probably a simple oversight on my side so sorry if I’m wasting your time here but I"m a bit stumped and I want to make sure there isn’t a deeper issue on my end.
I’m just trying to upgrade from 4.X to 5.X of the pathfinding asset.
In my project, I have then ALINE asset installed (Purchased in addition to Patfhing Pro). I’m getting an error on compile after upgrading to 5.X as described below:
Assets/AstarPathfindingProject/PackageTools/VersionedMonoBehaviour.cs(20,2): error CS0246: The type or namespace name ‘Drawing’ could not be found (are you missing a using directive or an assembly reference?)
I notice that The Drawing Namespace and MonoBehaviourGizmos are being pulled into my project via a package:
packages/com.arrongrandberg.astar/Drawing
and also directly from the inclusion of the purchased ALINE asset.
Is it the double inclusion of ALINE into my project that is causing the issue (I noticed another thread on the forums with conflicting ALINE inclusions from a few years back)?
Do you know what might be causing this issue/have a resolution? many thanks in advance!!
w
No such thing! We’re glad to help
Before Aron takes a look at this, I wanted to check and see if you knew about the Upgrade Guide? It doesn’t mention much about ALINE, but just wanted to put it on your radar in case it wasn’t already
Thanks for the prompt reply.
I did go through he guide and also did a forum search for similar issues. .
As an added troubleshoot, I also tried competing out the line that was causing the build to fail and I ended up seeing more errors.
I also tried following the upgrade documentation by removing my old 4.X install before installing the upgraded 5.X version. This resulted missing asmdef references in my asmdef (that I resolved manually). once those references were fixed. the Drawing.MonobevaiourGizmo-not-found issue was still present.
Also my 4.X was installed in Assets/AStarPathfindingProject and not in the Packages directory where 5.X installs to. Not sure if that, along with my existing ALIne install have are creating some sort of weird conflict.
thanks again.
Do you have a stacktrace for this remaining error?
Also, make sure you are using the latest version of ALINE. Older versions could conflict with the A* Pathfinding Project.
Hi Aron,
Thanks for getting back to me.
I was assigned onto other tasks for the week but will loop back to upgrading AStarPath Pro to 5.X once those are completed.
ALINE in my project is the most up to date version (1.7.4).
I’ll share the the additional stack track and any other findings shortly.
Thanks and have a good day!
w
2 Likes