# SamplerPlugin demo projcet vst3 bug Help wanted

**URL:** <https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125>\
**Category:** Development\
**Created:** [February 3, 2026, 1:08pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125 "2026-02-03T13:08:47Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 1:08pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/1 "2026-02-03T13:08:47Z")

</div>

I am a JUCE starter,I have successfully built the demo project but when I load it in my DAW it does’nt work properly.(see [[Bug]: SamplerPluginDemo.vst3 does not work properly/SamplerPluginDemo.vst3不能正常使用 · Issue #1621 · juce-framework/JUCE · GitHub](https://github.com/juce-framework/JUCE/issues/1621)) .I have worked on this problem so long that I am exausted…Is there anyone who can help me?(For more information,see the github issue link)

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 1:11pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/2 "2026-02-03T13:11:45Z")

</div>

I am new here and I am not sure whether I should ask questions in the forum with this topic.I will appreciate it if someone could give me some suggestions.Thanks a lot!.::\>\_\<::

---

<div class="post-metadata">

**Author:** ![zsliu98](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/zsliu98/32/22502_2.png) [@zsliu98](https://forum.juce.com/u/zsliu98)\
**Post date:** [February 3, 2026, 1:44pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/3 "2026-02-03T13:44:49Z")

</div>

I am not very familiar with Cubase but perhaps you can build the plugin in `Release` instead of `Debug` and try again? If the meter shows 0dB in general there should be at least some sound.

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:04pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/4 "2026-02-03T14:04:32Z")

</div>

Ok I will try to build in Release and try again.

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:07pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/5 "2026-02-03T14:07:00Z")

</div>

I asked my friends to test this plugin on their computers,but their DAW doesn’t even recognized the plugin(ableton live,cubase or fl studio)

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:10pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/6 "2026-02-03T14:10:18Z")

</div>

When the plugin is loaded the meter goes 0dB and you can hear one click sound then it remains silent(other vsti also cann’t play any sound) It’s so confusing.

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:26pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/7 "2026-02-03T14:26:56Z")

</div>

In Debug mode when the plugin is loaded the meter goes 0dB and you can hear one click sound then it remains silent(other vsti also cann’t play any sound) It’s so confusing.

I build it in release mode,it still doesn’t work properly.

 ![e27c2dcc6110c50d274ad713762a6e7](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/1/8/18f56a7374df1b19e96527113b3d868115247a8b.png)

The notes seems to sustain when it should release,I will look over these code again tomorrow(I am so tired today).Thanks for your suggestion!🙂 🙂

---

<div class="post-metadata">

**Author:** ![zsliu98](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/zsliu98/32/22502_2.png) [@zsliu98](https://forum.juce.com/u/zsliu98)\
**Post date:** [February 3, 2026, 2:31pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/8 "2026-02-03T14:31:02Z")

</div>

> [@TianyiLuo](#):
>
> I asked my friends to test this plugin on their computers,but their DAW doesn’t even recognized the plugin(ableton live,cubase or fl studio)

Regarding this, you need to static link C++ runtime. Have you done so in Projucer (I am not familiar with Projucer).

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:37pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/9 "2026-02-03T14:37:53Z")

</div>

oh,I am using dll runtime.I will try again

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/2/f/2fd92c986f32e9ebebd920419f37b3b056eed99e.png)

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [February 3, 2026, 2:46pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/10 "2026-02-03T14:46:56Z")

</div>

There is now some bug in the Juce Sampler example. Doesn’t seem to be anything obvious, the code isn’t crashing or jasserting when run under the debugger, so I guess this is going to be difficult to fix.

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:51pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/11 "2026-02-03T14:51:01Z")

</div>

Yeah it’s so confusing…The vst2 version works correctly but vst3 doesn’t…

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 2:59pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/12 "2026-02-03T14:59:54Z")

</div>

I have updated my issue description:[[Bug]: SamplerPluginDemo.vst3 does not work properly/SamplerPluginDemo.vst3不能正常使用 · Issue #1621 · juce-framework/JUCE](https://github.com/juce-framework/JUCE/issues/1621) .Hoping for more suggestions.🙂

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [February 3, 2026, 3:01pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/13 "2026-02-03T15:01:19Z")

</div>

I got the bug fixed on my system by changing the process function like this :

```auto
template <typename Element>
void process (AudioBuffer<Element>& buffer, MidiBuffer& midiMessages)
{
    buffer.clear();
```

That is, I added the buffer.clear() to the beginning. Incredibly, it was Google Gemini that figured this one out before I even looked at the code myself. 😵‍💫

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 3:02pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/14 "2026-02-03T15:02:01Z")

</div>

!Thanks!I will try it at once!

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 3, 2026, 3:05pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/15 "2026-02-03T15:05:30Z")

</div>

I have asked different AI lots of times,their answers are just useless…Could I ask What prompt did you give gemini?

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [February 3, 2026, 3:06pm UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/16 "2026-02-03T15:06:15Z")

</div>

It was a longer conversation, not a single prompt

---

<div class="post-metadata">

**Author:** ![TianyiLuo](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TianyiLuo](https://forum.juce.com/u/TianyiLuo)\
**Post date:** [February 5, 2026, 2:07am UTC](https://forum.juce.com/t/samplerplugin-demo-projcet-vst3-bug-help-wanted/68125/17 "2026-02-05T02:07:42Z")

</div>

Yeah…It really takes a lot of time…Thank you so much…（The JUCE forum blocks me from posting replys in the first 24 hours after I registered my account,that’s why I’m only replying now.)
