+2 votes

Hi all,

As the title says, when I play the game in godot by pressing F5 the music plays fine.

When I export to OSX though, I get the following error:

ERROR: set_file: Condition ' err ' is true. returned: err
   At: modules/vorbis/audio_stream_ogg_vorbis.cpp:265.
ERROR: setup: Condition ' p_channels!=1 && p_channels!=2 && p_channels!=4 && p_channels!=6 ' is true. returned: ERR_INVALID_PARAMETER
   At: servers/audio/audio_rb_resampler.cpp:296.
ERROR: _load_stream: Condition ' !stream_valid ' is true. returned: ERR_UNCONFIGURED
   At: modules/vorbis/audio_stream_ogg_vorbis.cpp:304.

Note the game still works, the sound effects work etc, just not the music. Any ideas?

EDIT: I should mention, the file is definitely checked as a resource to export.

in Engine by (810 points)
edited by

1 Answer

0 votes
Best answer

For anyone in the future, this was answered by a kind soul in /r/godot. I had a filename incorrectly spelled. I had a lowercase letter where it should have been an uppercase.

Strangely enough, it worked in the godot engine but not when compiled. So there you go, simple mistake.

by (810 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories