AIPaintStyleSuite not found
Trying to update a plugin to use the Illustrator 2020 SDK on Mac. Previously using the 2017 SDK. The SPBasicSuite AcquireSuite function fails to find the AIPaintStyleSuite when building with the 2020 SDK.
-
Milos R commented
Looks like we need to acquire plugins in post start. See AcquirePostStartupSuites method of Plugin.cpp in newest SDK - sample code.
-
Milos R commented
Same problem here!
-
Anonymous commented
I found what was causing this. The AIPaintStyleSuite is provided by the builtin PaintStyle.aip plugin in Extensions. This plugin was not loaded when our plugin received the startup message so the suite was not found.
What has changed? Are plugins now loaded in a random order, whereas before the builtin plugins were loaded before third party plugins? The sample code for the example plugins has not changed as they still try to load all suites at startup. When are third party plugins meant to load suites now that some of them may not be available at startup?