#Got a stinky error following the 2D pathfinding brackeys tutorial

1 messages · Page 1 of 1 (latest)

azure relic
#

Here is the code and screenshot of error:

#

Path path;

#
    {
        if (!p.error)
        {
            path = p;
            currentWaypoint = 0;
        }
    }```
#

this code is throwing an error

#

now that obviously isnt my fault but what do I do

#

I think I fixed it lmao

rancid beacon
#

In case you still don't know why.
That error means those 2 packages both have a class called Path.
So if you just type Path, the compiler doesn't know which one you meant.