Skip to content

AStar3D docs state that get_point_path cannot be used from other threads which is apparently not true #11139

@martyglaubitz

Description

@martyglaubitz

Your Godot version:
4.4

Issue description:
The docs explicitly state that the Method get_point_path of the class AStar3D cannot be used from Threads:

Note: This method is not thread-safe. If called from a Thread, it will return an empty array and will print an error message.

Yet when using mutexes, to ensure the AStar3D object only ever gets used by one thread, it works fine.

URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_astar3d.html#class-astar3d-method-get-point-path

If you know how to fix the issue you are reporting please
consider opening a pull request. We provide a tutorial on
using git here: https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html,
writing documentation at https://docs.godotengine.org/en/stable/community/contributing/docs_writing_guidelines.html
and contributing to the class reference here: https://docs.godotengine.org/en/stable/community/contributing/updating_the_class_reference.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositorybug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions