If you're running a macro that was built for earlier versions of Audacity prior to 3.6.0, and part of that macro includes the Limiter and/or Compressor, it's probably going to fail when invoked. The reason is that the new versions of these plugins have been rewritten for realtime use and the setting options have changed. In this episode I suggest 3 options as a workaround.
Here's the link I mentioned to hotfix issues that were addressed in version 3.6.1.
https://support.audacityteam.org/additional-resources/changelog/audacity-3.6.1
Other Places You'll Find Me: