i built a plugin of a guitar distortion effect and i compile it both for Windows (VST3) and for MacOs (VST3 and AU), sharing only source files and the file .jucer. All worked fine until i decided to control the parameters with the AudioProcessorValueTreeState to enable the automation and the saving through xml file, following what is written here: https://docs.juce.com/master/tutorial_audio_processor_value_tree_state.html .
When i made this passage i deleted my method ‘sliderValueChanged’ and i connected the sliders with the parameters by using the SliderAttachment.
In macOs my plugin (indifferently VST3 or AU) behaves correctly.
In Windows (VST3) strange things happen when I move the sliders, generating incoherent output audio. Sometimes when i move the sliders, i have no output.
Could someone help me, please? I don’t know why there are these differences in the two OS while the plugin have the same source code