# Following "Scripting Examples | Programmer Sounds" to play dialogues WAV files. it works, however i'm getting flooded with console error

**URL:** https://qa.fmod.com/t/following-scripting-examples-programmer-sounds-to-play-dialogues-wav-files-it-works-however-im-getting-flooded-with-console-error/21820
**Category:** Unity
**Created:** [June 29, 2024, 2:56pm UTC](https://qa.fmod.com/t/following-scripting-examples-programmer-sounds-to-play-dialogues-wav-files-it-works-however-im-getting-flooded-with-console-error/21820 "2024-06-29T14:56:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![leoncityfromnaught](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@leoncityfromnaught](https://qa.fmod.com/u/leoncityfromnaught)
#### Post date: [June 29, 2024, 2:56pm UTC](https://qa.fmod.com/t/following-scripting-examples-programmer-sounds-to-play-dialogues-wav-files-it-works-however-im-getting-flooded-with-console-error/21820/1 "2024-06-29T14:56:04Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/2/2dc02d5cb6350de7d7f73a89d8bec95a3a6fb0c5.png)

i’m loading WAV files and it does get played. It would appear it is trying to go through all the format check despite it is just a WAV file. I suspect it leads to the warning at the end as well, although i’m not sure.

I _could_ silence these errors with a hack, but not ideal obviously.

tutorial link: [https://fmod.com/docs/2.02/unity/examples-programmer-sounds.html](https://fmod.com/docs/2.02/unity/examples-programmer-sounds.html)

---

<div class="post-metadata">

### Author: ![Leah\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/leah_fmod/32/3685_2.png) [@Leah\_FMOD](https://qa.fmod.com/u/Leah_FMOD)
#### Post date: [July 3, 2024, 5:52am UTC](https://qa.fmod.com/t/following-scripting-examples-programmer-sounds-to-play-dialogues-wav-files-it-works-however-im-getting-flooded-with-console-error/21820/2 "2024-07-03T05:52:25Z")

</div>

Unfortunately, I haven’t been able reproduce the issue when loading a single WAV file on disk using the Programmer Sounds example script as is.

A few questions:

- What version of FMOD for Unity are you using?
- Are you explicitly loading a WAV file on disk, or WAV source assets that are bundled into an audio table?
- Have you made any modifications to the example script, especially around sound creation in the event callback? If so, could you post the callback code here in its entirety?

The loading delay warning may be caused in part by the Codec checks, but it may also be caused by how large the source audio is, and how it’s being loaded.
