I had a quick look at the code, and it appears that your parameter classes derive publicly from AudioProcessorParameterWithID, so I would expect the parameter IDs to be reported correctly to the host.
That’s nice to hear. I don’t know very much JUCE’s parameters’ background.
If you weren’t previously using legacy IDs, I would expect enabling that flag to break saved automation. That is, any automation you saved with a previous version of the plugin might not be recalled correctly. Therefore, I don’t think this is a good solution to the problem.
Have you checked the Pro Tools logfile? There’s a chance that Pro Tools is encountering some sort of error when loading your plugin. In this case, it might write some diagnostic output to the logfile.
On my system, the logfiles are found at /Applications/Logs/Pro_Tools_...txt
. According to Avid’s help pages, they might also be found at ~/Library/Logs/Avid
or ~/Library/Logs/AvidLogFiles
.
Actually I test it with the automation parameters and data and everything works correctly with old style parameters flag. I’ve also checked the BREAKING-CHANGES.txt document. I expected it’s changed in JUCE 5 to 6 but I see the comments in JUCE 4. Than, I’ve checked our juce project file if we were create JUCE 4 but I found that we created the project JUCE 5. It seems weird.
I understand what you mean, I shouldn’t use old style parameters flag to suppose the project is OK. Than, I’ve just looked at the logs as you suggest and found that lines after our plugin loaded
3671.938057,00307,0033: SMgr_DSPCache::InstantiatePlugIn - pluginType: Native, name: "PluginName", track "Audio 1_01-26.1"
3671.957091,00307,0e0f: CMN_TRACEASSERT controlNum>0 /Users/autobld/gitlabci/PT/release/2021/r2/ProTools/NewFileLibs/SMgr/SMgr_PlugInInstSet.cpp line 1814
3671.957102,00307,0e0f: CMN_TRACEASSERT controlNum>0 /Users/autobld/gitlabci/PT/release/2021/r2/ProTools/NewFileLibs/SMgr/SMgr_PlugInInstSet.cpp line 1814
3671.957108,00307,0e0f: CMN_TRACEASSERT controlNum>0 /Users/autobld/gitlabci/PT/release/2021/r2/ProTools/NewFileLibs/SMgr/SMgr_PlugInInstSet.cpp line 1814
3671.957121,00307,0e0f: CMN_TRACEASSERT controlNum>0 /Users/autobld/gitlabci/PT/release/2021/r2/ProTools/NewFileLibs/SMgr/SMgr_PlugInInstSet.cpp line 1814
3671.957127,00307,0e0f: CMN_TRACEASSERT controlNum>0 /Users/autobld/gitlabci/PT/release/2021/r2/ProTools/NewFileLibs/SMgr/SMgr_PlugInInstSet.cpp line 1814
3671.957133,00307,0e0f: CMN_TRACEASSERT controlNum>0 /Users/autobld/gitlabci/PT/release/2021/r2/ProTools/NewFileLibs/SMgr/SMgr_PlugInInstSet.cpp line 1814
I searched about CMN_TRACEASSERT and found only two links with google. Do these log lines any sense to you?