Path-Creator icon indicating copy to clipboard operation
Path-Creator copied to clipboard

Path only works if I have path GameObject selected in hierarchy

Open kipBO opened this issue 1 year ago • 2 comments

This is the GameObject: image

And here is the inspector of that object: image

Only when the object is selected in the hierarchy the road/path is connected to the waypoints when I run it in the editor. When I select anything else it's not working anymore. Also in build version it's not functioning obviously. Maybe something to note, I'm also using the road from the examples. Am I missing something, or do I have a setting wrong? Did check the docs and for issue's here but couldn't find anything. Cheers and thanks in advance!

kipBO avatar Apr 17 '23 21:04 kipBO

I don't know if it's the right way but I fixed it. If you have the road example attached like me. Go to file RoadMeshCreator.cs and add:

void Start()  { PathUpdated(); }
void Update()  { PathUpdated();  }

✌️

kipBO avatar Apr 19 '23 19:04 kipBO

This issue is still persists in Unity 2023.1.4f1. I can create a Bezier path but once I clicked other Game objects and came back to the path, it got reset to initial.

Any workaround to fix this issue.

hgopi avatar Jul 24 '23 12:07 hgopi