Packaged as .app on the macOS platform, assets cannot be read. #15618
Labels
A-Assets
Load files from disk to use for things like images, models, and sounds
O-MacOS
Specific to the MacOS (Apple) desktop operating system
S-Needs-Help
The author needs help finishing this PR.
I used the following code:
Directly debug and run without any problems, audio can be played normally:
However, if packaged in .app format (for distribution purposes), files in assets cannot be read and audio cannot be played.
How should I achieve it? Thank you.
The text was updated successfully, but these errors were encountered: