Skip to content

Path only works if I have path GameObject selected in hierarchy  #134

Open

Description

@kipBO

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!

Activity

  1. kipBO commented on Apr 19, 2023

    @kipBO
    Author

    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();  }
    

    ✌️

  2. hgopi commented on Jul 24, 2023

    @hgopi

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions