4.5 imported .ogg error

4.5

Greetings,
I just updated and imported a game project I was making in 4.4 to 4.5. I get this error.

WARNING: modules/vorbis/audio_stream_ogg_vorbis.cpp:465 - Invalid comment in Ogg Vorbis file.

then this one on runtime

W 0:00:01:624 maybe_update_info: Invalid comment in Ogg Vorbis file.
<C++ Source> modules/vorbis/audio_stream_ogg_vorbis.cpp:465 @ maybe_update_info()

I’m not sure exactly what Godot isn’t liking or how to solve it , and since I have 400+ sound files this error spams the console every time and makes the console very sad.

If anyone has a hint on what I could do to fix my sound files to make Godot happy again, I’d appreciate it.

Thanks

It’s not an error, it’s a warning. The game should work without crashing.

The code tries to parse the tags of an ogg file which should be in thhe format <key>=<value> as specified in the OGG Vorbis spec

2 Likes

I shall now learn about this. Thank you, I appreciate it.

If you added comments to the ogg files in another program like WinAmp that could be the issue.

2 Likes

I wouldn’t be shocked if you find the comments use : as a key/value separator rather than = and are out of spec.

3 Likes

I am very much enjoying this ongoing adventure of learning new things. Thank you for pointing me in the places to look.

1 Like

Sound file comments (particularly ID3) are a rich seam of madness if you’re looking to have moments of staring aghast at your screen and yelling “HOW DID THIS EVER WORK?!?!”.

3 Likes

Here’s the PR that added the extra information to the warning:

1 Like

Thank you so much :slight_smile: