I have a verrry sporadic bug on a plugin. (est. 1 run in 500 ish???)
The custom look (knob/slider drawing etc.) doesn’t load and the plugin draws with the default JUCE widgets.
Reloading the DAW session and drawing is back to correct custom widgets.
Where is the best place to instantiate the look?
Is there somewhere I can put it so that it periodically re-instantiates? (So if the bug does happen, it’s only for a split second?
Right now it’s a member variable of PluginProcessor
And is the first call in the constructor of PluginProcessor