# 'FMOD\_validate\_utf8(src)' failed

**URL:** <https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531>\
**Category:** Unity\
**Created:** [December 8, 2020, 12:45pm UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531 "2020-12-08T12:45:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![joon](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@joon](https://qa.fmod.com/u/joon)\
**Post date:** [December 8, 2020, 12:45pm UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531/1 "2020-12-08T12:45:47Z")

</div>

I’m getting this error while playing an event, consistently.  
The event still plays, so I’m unsure what is happening.

```
[FMOD] assert : assertion: 'FMOD_validate_utf8(src)' failed

UnityEngine.Debug:LogError(Object)
FMODUnity.RuntimeManager:DEBUG_CALLBACK(DEBUG_FLAGS, StringWrapper, Int32, StringWrapper, StringWrapper) (at Assets/Plugins/FMOD/src/Runtime/RuntimeManager.cs:28)

```

When I set it to LOG everything, the event right before that is

`[FMOD] SystemI::createSoundInternal : Stream 0/1: name='201130 Dark Blue', format=2, channels=2, frequency=48000, lengthbytes=3533984, lengthpcm=12480177, pcmblocksize=0, loopstart=0, loopend=0, mode=0x00000000, channelmask=0x00000000, channelorder=0, peakvolume=0.698303.`

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [December 18, 2020, 2:40am UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531/2 "2020-12-18T02:40:15Z")

</div>

The `[FMOD] assert : assertion: 'FMOD_validate_utf8(src)' failed` message indicates that your bank contains an invalid UTF8 string.

If you send us your master bank, strings bank, and the bank containing the event that causes the issue, we’ll be able to investigate them to determine the case of the problem.

In the mean time, I recommend checking the event in FMOD Studio to see if it has any unusual or invalid content, then rebuilding your master bank and the bank containing the event to see if that fixes the issue.

---

<div class="post-metadata">

**Author:** ![dominik.weltenbauer](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dominik.weltenbauer](https://qa.fmod.com/u/dominik.weltenbauer)\
**Post date:** [April 5, 2022, 9:45am UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531/3 "2022-04-05T09:45:21Z")

</div>

Hi,

I’m encountering this error as well with Fmod 2.01.11.

I have already deleted the faulty event and created a new one with a different name. And it still occurs.

What does the utf8 error refer to? Event Names? Parameters? Samples?

The sound contains a loop region. The log happens frequently so I assume it happens every time the loop point is hit.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [April 6, 2022, 12:22am UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531/4 "2022-04-06T00:22:43Z")

</div>

> [@dominik.weltenbauer](#):
>
> I’m encountering this error as well with Fmod 2.01.11.

Unfortunately, without more information, we can’t easily help you with this issue.

If you send us your master bank, strings bank, and the bank containing the event that causes the issue, we’ll be able to investigate them to determine the case of the problem.

> [@dominik.weltenbauer](#):
>
> I have already deleted the faulty event and created a new one with a different name. And it still occurs.

Did you rebuild both the bank containing the event and the master bank after replacing the event?

> [@dominik.weltenbauer](#):
>
> What does the utf8 error refer to? Event Names? Parameters? Samples?

It could potentially be any incorrectly-encoded UTF-8 format content in your bank, but would most likely be the name of an event, asset, instrument, or other piece of content whose name you can freely set.

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [April 8, 2022, 7:04am UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531/5 "2022-04-08T07:04:45Z")

</div>

This issue has been resolved via e-mail.

---

<div class="post-metadata">

**Author:** ![dominik.weltenbauer](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dominik.weltenbauer](https://qa.fmod.com/u/dominik.weltenbauer)\
**Post date:** [April 8, 2022, 10:48am UTC](https://qa.fmod.com/t/fmod-validate-utf8-src-failed/16531/6 "2022-04-08T10:48:30Z")

</div>

For anyone who might come across this issue in the future:

In my case I was using a sample which contained a marker named with a non utf-8 character.

Thanks to Joseph and the FMOD-Support for finding that out!
