-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a rare crash when reading MP3 files #72
Comments
Hi, could you please ensure that the used objects, specifically the imported sound wave and runtime audio importer library, are represented in Blueprint variables or, if you're working in C++, are marked with UPROPERTY/any other strong references to prevent them from being garbage collected? Also, I’m wondering about the audio files you are using, could you please provide links to them, if possible? |
and the audio files is here: https://drive.google.com/file/d/1n0MamZH-fhjPdOD7zhMihj9hLPPmgAD-/view?usp=drive_link |
…nnecessary codec checks when possible (#72)
The issue might be related to checking all codecs directly by the buffer, with one of them failing and causing a crash for some reason, though I wasn't able to reproduce it. I've pushed a fix to also consider the path, specifically the extension of the file. You might also try changing the default mp3 codec from minimp3 to dr_mp3 by setting |
the probability of crashing is low, and there is no particularly complex logic. It just reads the header information of several MP3 files.
The text was updated successfully, but these errors were encountered: