# AsyncCommandBuffer::growBuffer Warning Unity

**URL:** <https://qa.fmod.com/t/asynccommandbuffer-growbuffer-warning-unity/16667>\
**Category:** Unity\
**Tags:** unity\
**Created:** [January 19, 2021, 5:29pm UTC](https://qa.fmod.com/t/asynccommandbuffer-growbuffer-warning-unity/16667 "2021-01-19T17:29:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cj2222](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@cj2222](https://qa.fmod.com/u/cj2222)\
**Post date:** [January 19, 2021, 5:29pm UTC](https://qa.fmod.com/t/asynccommandbuffer-growbuffer-warning-unity/16667/1 "2021-01-19T17:29:03Z")

</div>

Hello I am getting this warning: [FMOD] AsyncCommandBuffer::growBuffer : Growing command buffer to 65536 bytes. Initial command buffer size can be tuned to avoid dynamic growth using Studio::System::setAdvancedSettings().

I tried setting the cbSize of the advanced settings in the RuntimeManager’s initialize, with no luck. If someone knows how to do this, please let me know.

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [January 20, 2021, 1:34am UTC](https://qa.fmod.com/t/asynccommandbuffer-growbuffer-warning-unity/16667/2 "2021-01-20T01:34:19Z")

</div>

The buffer size can be set via [FMOD\_STUDIO\_ADVANCEDSETTINGS::commandqueuesize](https://fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#fmod_studio_advancedsettings). cbSize is actually the size of the structure, used for versioning, in C# / Unity you don’t need to set that field, the C# wrapper does it for you.

---

<div class="post-metadata">

**Author:** ![Nicrus](https://avatars.discourse-cdn.com/v4/letter/n/eb9ed0/32.png) [@Nicrus](https://qa.fmod.com/u/Nicrus)\
**Post date:** [October 13, 2022, 12:39pm UTC](https://qa.fmod.com/t/asynccommandbuffer-growbuffer-warning-unity/16667/3 "2022-10-13T12:39:00Z")

</div>

Hello, we still have this problem even though we tried setting the commandqueuesize, any other solutions we could try? Thank you!

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [October 17, 2022, 5:21am UTC](https://qa.fmod.com/t/asynccommandbuffer-growbuffer-warning-unity/16667/4 "2022-10-17T05:21:27Z")

</div>

Hi,

You can check the `commandquesize` has successfully been resized by calling `FMODUnity.RuntimeManager.StudioSystem.getAdvancedSettings()`. This will make sure the command buffer has be set correctly. Another option to make sure the `setAdvancedSettings()` functions has run correctly is using `FMOD.RESULT` and debugging its result.

Hope this helps!
