# Wavelab / VST setBusArrangements

**URL:** <https://forum.juce.com/t/wavelab-vst-setbusarrangements/56062>\
**Category:** Audio Plugins\
**Created:** [May 3, 2023, 10:56am UTC](https://forum.juce.com/t/wavelab-vst-setbusarrangements/56062 "2023-05-03T10:56:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![normalised](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@normalised](https://forum.juce.com/u/normalised)\
**Post date:** [May 3, 2023, 10:56am UTC](https://forum.juce.com/t/wavelab-vst-setbusarrangements/56062/1 "2023-05-03T10:56:45Z")

</div>

There’s a particular workflow a client uses in Wavelab, where they create an empty project, add our plugin, then load an audio file.  
This triggers this assertion in juce-VST3-Wrapper.cpp - 3267

```auto
    tresult PLUGIN_API setBusArrangements (Vst::SpeakerArrangement* inputs, Steinberg::int32 numIns,
                                           Vst::SpeakerArrangement* outputs, Steinberg::int32 numOuts) override
    {
        if (active)
        {
            // The host is misbehaving! The plugin must be deactivated before setting new arrangements.
            jassertfalse;

```

An error message appears in Wavelab, then it deactivates the plugin.

Is there anything we can do in our code to avoid this?

---

<div class="post-metadata">

**Author:** ![yairadix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/yairadix/32/1114_2.png) [@yairadix](https://forum.juce.com/u/yairadix)\
**Post date:** [July 13, 2026, 8:12pm UTC](https://forum.juce.com/t/wavelab-vst-setbusarrangements/56062/2 "2026-07-13T20:12:10Z")

</div>

The SR fork now has [a workaround](https://github.com/soundradix/JUCE/commit/0db1c9545d396534ae19a58168594bb6099d206b) for this issue
