# Export to VST3 fails due to pluginId error

**URL:** <https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961>\
**Category:** Cabbage Stew\
**Created:** [16 November 2023 19:08 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961 "2023-11-16T19:08:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![paragogia](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/p/d6d6ee/32.png) [@paragogia](https://forum.cabbageaudio.com/u/paragogia)\
**Post date:** [16 November 2023 19:08 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/1 "2023-11-16T19:08:23Z")

</div>

I decided to push the latest WIP features for my synth into the future and test out the first VST3 export. But behold, Cabbage throws me an error saying “the pluginId is empty or contains a typo” even tho the code is:

```
form caption("Replicant"), size(1300, 722), guiMode("queue"), typeface("PhosphatePro-Inline.otf"), pluginId("rsyn")

```

Either I’m blind or plain stupid but the pluginId() identifier should be all correct like that. The plugin even loads but I get just a small black rectangle which certainly tells me that the plugin data isn’t being read properly. What’s going on? Also is there some kind of author identifier to change the text that appears in the curved brackets behind the plugin’s name when loading into a DAW?

Thanks for the quick help as usual

Until then!

Edit 1: After playing around a bit I managed to get it loaded seemingly properly. The error still persists tho and it didn’t make any sound and it was missing its background image either. After the latest export, it again loads as a black triangle.

---

<div class="post-metadata">

**Author:** ![circuitdust](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/circuitdust/32/5283_2.png) [@circuitdust](https://forum.cabbageaudio.com/u/circuitdust)\
**Post date:** [18 November 2023 12:42 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/2 "2023-11-18T12:42:05Z")

</div>

I’m not sure about why Cabbage isn’t loading your plugin properly, but what I do know is that the plugin code has to be four characters and has to start with a capital, e.g. “Xxxx” for AU plugins to be properly recognized on MacOS or some other format. Maybe try that and try removing the commas in between the form statements to see if that helps. Best of luck!

---

<div class="post-metadata">

**Author:** ![paragogia](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/p/d6d6ee/32.png) [@paragogia](https://forum.cabbageaudio.com/u/paragogia)\
**Post date:** [18 November 2023 19:57 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/3 "2023-11-18T19:57:14Z")

</div>

Managed to figure out how to make the plugin work, but the suggestion of starting with an upper case letter doesn’t help unfortunately. The error still persists.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [19 November 2023 12:09 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/4 "2023-11-19T12:09:46Z")

</div>

What version of Cabbage are you using?

---

<div class="post-metadata">

**Author:** ![hdale94](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/hdale94/32/6371_2.png) [@hdale94](https://forum.cabbageaudio.com/u/hdale94)\
**Post date:** [19 November 2023 13:41 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/5 "2023-11-19T13:41:19Z")

</div>

> [@circuitdust](#):
>
> I’m not sure about why Cabbage isn’t loading your plugin properly, but what I do know is that the plugin code has to be four characters and has to start with a capital, e.g. “Xxxx” for AU plugins to be properly recognized on MacOS or some other format. Maybe try that and try removing the commas in between the form statements to see if that helps. Best of luck!

Thanks for this info. Is there any source where I can read more about the pluginID?

---

<div class="post-metadata">

**Author:** ![paragogia](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/p/d6d6ee/32.png) [@paragogia](https://forum.cabbageaudio.com/u/paragogia)\
**Post date:** [19 November 2023 21:46 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/6 "2023-11-19T21:46:00Z")

</div>

All I can think of is the docs but they aren’t off much help. Could be a buck in the IDE reading the string, Idk.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [20 November 2023 09:32 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/7 "2023-11-20T09:32:40Z")

</div>

Cabbage has very little to do with plugin IDs, it merely passes them to the relevant underlying framework. In the case of AUs, I’d suggest looking through its [documentation](https://developer.apple.com/library/archive/documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/AudioUnitDevelopmentFundamentals/AudioUnitDevelopmentFundamentals.html).

@circuitdust is correct about needing an uppercase for AUs. This is something I’ve read on various forums, but I don’t know if I ever read it in any official documentation.

@paragogia you haven’t said what version of Cabbage you are using?

> [@paragogia](#):
>
> The plugin even loads but I get just a small black rectangle which certainly tells me that the plugin data isn’t being read properly.

In this case the plugin can’t find the .csd file because it’s not in the correct location. So if you exported the plugin, and then move it to another location it will fail. Cabbage, when exporting, automatically puts the .csd file beside the plugin file.

> [@paragogia](#):
>
> Also is there some kind of author identifier to change the text that appears in the curved brackets behind the plugin’s name when loading into a DAW?

No, this is a restriction of the GPL version of Cabbage. If you make some plugins, and want to release them under your own company name you can purchase a so-called pro license. There is a stiky post on the forum homepage about this.

---

<div class="post-metadata">

**Author:** ![paragogia](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/p/d6d6ee/32.png) [@paragogia](https://forum.cabbageaudio.com/u/paragogia)\
**Post date:** [25 November 2023 13:27 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/8 "2023-11-25T13:27:12Z")

</div>

Hey, sorry for the late response. Have been rather busy. I currently use version 2.9.137. Ah the GPL license… yeah. Thanks for the heads up on that. At this point I managed to get the plugin work all fine. It still needs some testing but is otherwise ready for publishing. Will take a look at the AU documentation, thanks a lot!

---

<div class="post-metadata">

**Author:** ![circuitdust](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/circuitdust/32/5283_2.png) [@circuitdust](https://forum.cabbageaudio.com/u/circuitdust)\
**Post date:** [28 November 2023 09:04 UTC](https://forum.cabbageaudio.com/t/export-to-vst3-fails-due-to-pluginid-error/3961/9 "2023-11-28T09:04:41Z")

</div>

I got that information while working with JUCE and Projucer. I don’t have any primary sources unfortunately.
