[Solved] Windows bundle failed to launch due to a SoundComponent issue

Hi,

I ran into an issue where my Windows bundle would not launch.

The error message was:

ERROR:GAMESYS: Sound could not be created since the buffer is full (23).
Increase the 'sound.max_component_count' value in [game.project](defold://open?path=/game.project)

I tried increasing sound.max_component_count, but it did not solve the issue.

No matter how much I increased the value, the error still said that the buffer was full at 23.

However, after writing this far, I managed to solve the problem.

It seems that the error was caused by a SoundComponent configured like the one shown below. Once I fixed that component, the Windows bundle launched correctly.

Below is another, probably normal, SoundComponent.

Anyway, this is solved now, but I’m leaving this post here in case anyone runs into the same issue.

I used ChatGPT to help organize this post in English, and I checked the content myself before posting.

2 Likes

We do not recommend to directly add a wav file like that instead of a sound component. I actually thought we deprecated or at least migrated such files. @AGulev ?

We don’t migrate already added such “components”. But you can’t add it in the editor anymore (adding a raw sound will create an embedded component for you)

1 Like