Godot has errors when importing audio assets with more than 55 minutes of duration and more than 50 MB of filesize

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tautologias345

How to fix these audio import errors?

What kind of errors are you encountering? I was able to import and play a one hour 578 MB wav without any trouble running v3.3.3.stable on Linux (admittedly I didn’t listen to the whole thing but so far it sounds good).

Edit: Finished listening, there were no hiccups.

skysphr | 2021-09-20 22:16

Is this a WAV or Ogg Vorbis file? Some Ogg Vorbis files can cause crashes due to the use of stb_vorbis instead of libvorbis to read Ogg Vorbis files.

As a workaround, you can use MP3 audio instead. It has lower quality at the same bitrate than Ogg Vorbis, but it requires less CPU to decode which is good when targeting mobile devices.

Calinou | 2021-09-21 01:14

I have this error when exporting the project. Godot stops answering for few seconds.

tautologias345 | 2021-09-21 22:17

Error when storing the import files while I am exporting the project for Windows Desktop.

tautologias345 | 2021-09-21 22:44