Path-Creator
Path-Creator copied to clipboard
Path only works if I have path GameObject selected in hierarchy
This is the GameObject:
And here is the inspector of that object:
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!
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(); }
✌️
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.