Skip to content

🐛 .luau file extension is not properly recognized and does not run .luau files #451

@iwishforducks

Description

@iwishforducks

Summary

Luau files are not properly recognized and do not run when the Luau feature is enabled.

Reproducing

Enable the Luau feature.
Boilerplate loading etc.
Try to load in any script with ".luau"
Get the following error:
WARN bevy_mod_scripting_core::asset: Unknown language for "my_script.luau"
The script does not run.

Additional Data

Changing their file extension to .lua circumvents this issue and allows the code to run in the Luau language just fine.

Was able to load Luau files when Luau was first introduced in: #154

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions