Skip to content

Inconsistency between @GDScript.load() / ResourceLoader.load() and convert_text_resources_to_binary #12127

Description

@bendy1234

Your Godot version:
v4.7.stable.official [5b4e0cb0f]

Issue description:
The documentation for convert_text_resources_to_binary states:

Note: Because a resource's file extension may change in an exported project, it is heavily recommended to use @GDScript.load() or ResourceLoader instead of FileAccess to load resources dynamically.

However, both @GDScript.load() and ResourceLoader.load() state:

Note: If ProjectSettings.editor/export/convert_text_resources_to_binary is true, @GDScript.load() will not be able to read converted files in an exported project. If you rely on run-time loading of files present within the PCK, set ProjectSettings.editor/export/convert_text_resources_to_binary to false.

URL to the documentation page:

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