Logic doesn't update buses layout

Hi everyone! I’ve been having an issue for days and it’s driving me nuts, maybe someone here could help me out! I’m trying to update a drum/sampler plugin to accept multi-output. The idea is to have a global out and 4 individual tracks (kick, snare, hihat, percussion).

image

While it works well on all the DAWs I tried, Logic is giving me a very hard time! It’s always giving me the options of the screenshot no matter what. While I was trying to get rid of the (2xStereo, 3xMono) option, I realised that even if I delete/add outputs, I get the same options in Logic but Reaper updates the layout.

So my question is, do you have a reliable method to reset how Logic treats the buses layout? I tried clearing “com.apple.logic10”, “AudioUnitCache”, “com.apple.audio.InfoHelper”, the command “killall -9 AudioComponentRegistrar”, changing the plugin version… To no avail.

If anybody could help, I’d be grateful, thanks! Have a good day!

Apologies to the original poster of this list but I can’t now find it on the forum but it sure helped me out with a similar probelm. The important one I think is deleting Logic’s prefs (which does mean you need to go back and re-enable “Advanced” features on next load).

I keep this in a script something like zap-plugins.sh

#!/bin/sh
sudo killall -9 AudioComponentRegistrar
rm ~/Library/Caches/AudioUnitCache/com.apple.audiounits.cache
rm ~/Library/Caches/com.apple.audiounits.cache
rm ~/Library/Preferences/com.apple.audio.InfoHelper.plist
rm ~/Library/Preferences/com.apple.logic.pro.cs
rm ~/Library/Preferences/com.apple.logic10.plist
rm ~/Library/Preferences/com.cockos.reaper.plist
rm ~/Library/Preferences/Avid/Pro\ Tools/InstalledAAXPlugIns

It worked, thanks a lot!!!
The layout is still wrong but it’s a start haha.

That was probably me. No problem thanks for sharing it.

1 Like

i was going through this issue yesterday and one of my first steps was to make the version number 0.0.0 and that helps Logic always re-read the bus layout, for my system anyways.

but alas, i forgot that step on a project so my 1.0.0 would not update the bus layout.

In Xcode project settings I have the Version number and the Build number.
Setting the Build number to 1.0.1 fixed the bus layout, and the plugin was still read as 1.0.0 in Logic’s Plugin Manager. I’m not sure if that option is in the other ide’s, but that is my workaround.

Good Luck.

FWIW, I found this approach is what I needed, if I change the layout or isBusesLayoutSupported or canAddBus or canRemoveBus, or in fact anything in the plug-in (!), and need to debug it under Logic on macOS (on M1 etc. Macs - x64 macs are much easier, but I don’t have any of them left…)

  1. Note that for this to work, you MUST have disabled SIP protection…
  2. Tell Logic to do a full audio unit reset (via Settings → Plug-ins)
  3. Reboot your Mac *** THIS IS ESSENTIAL OR LOGIC WON’T RE-SCAN on next re-open ***
  4. Re-launch your app from Xcode
  5. Re-launch app’s AUv3 from Xcode via Logic - only then will Logic re-scan (see step 3)

FWIW, I’ve found AUv3 debugging much simpler with iPadOS and Logic, as that only requires you to rerun the plug-in via Xcode (no reboot required for AUv3 changes to be picked-up). NB you must have at least once run your container app - I do this and keep the app running across AUv3 debugger sessions.

If there is a better approach, I’d love to hear it!