I was recently working with a project where some of the audio files wouldn't load properly at the end. Since the loading order is shuffled, it was difficult to tell which file triggered the issue. All I knew is I was getting an error here:
|
raise RuntimeError("Failed to decode audio.") |
Obviously I put a breakpoint on that line, re-ran the project, and worked my way back up the stack to find the problematic file, but it would be nice if the error message gave some details about what it was trying to load. If this is an intentional omission, I understand, but I do think it would be helpful to include that information.