OK, I have another problem,
I made about 10 plugins, and almost always I used value tree state, and there was no problem.
But suddenly with my new plugin I have problem with that code:
coefA0Attache = new AudioProcessorValueTreeState::SliderAttachment (processor.tree, “coefA0”, _A0);
xCode doesn’t show any problem, and plugin works great. The problem is in Logic Pro X. When I open plugin everything works, but when I close it (click cross “x” on the top left corner of window or cmd+w) even without any changes, the whole Logic crushes, just disappears, and give me allert: Logic Pro X quit unexpectedly while using the wojtekEQL plug-in.
I am sure that problem is caused by code I mentioned above, because without that there is no problem. Could anybody give me some advice what can be wrong? I can’t check in other DAW, because I don’t have anyone except Logic.
And as I told, with other of my plugins there is no such problem, and I see no difference in using value tree state. I always use it in the same manner, and there is no problems, just now with my latest plugin. Don’t know what to do, please help.
For any help thanks in advance. Best regards.