UserInteractionSuite v4 can not be loaded

Explorer ,
Jan 27, 2021

Copy link to clipboard

Copied

Hi,

 

I'm working on a Plugin for Illustrator. Currently I'm trying to run the Plugin on Adobe Illustrator 2021.

 

More precisely I first had the version 25.0.1 of Illustrator, which did not work for MAC.

Then I updated to version 25.1, which results in an error loading the "UserInteractionSuite" (version 4) for MAC and for Windows.

Afterwards I tried to update the SDK from 2019 to 2021, because I thought there is maybe a new "UserInteractionSuite" included, which would run under AdobeIllustrator version 25.1. But, there is still just the "version 4 UserInteractionSuite" and it's still unable to load this suite on startup,

 

Any ideads?

 

TOPICS
SDK, Third party plugins

Views

108

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Participant , Jan 28, 2021
MilosR Participant , Jan 28, 2021
It depends at which moment you try to acquire suite. It could be that plugin that provides wanted suite is not yet loaded. Try to acquire suites after all plugins have been loaded. Or best way, if you cannot acquire particular suite, release suites you partially loaded before, and from your main entry function try to return kSPSuiteNotFoundError, however i do not remember is this the right code, and AI will try again to load your plugin at some point later in initialization process.

Likes

Translate

Translate
Jump to answer Jump to answer
Explorer ,
Jan 27, 2021

Copy link to clipboard

Copied

After removing the UserInteractionSuite, I found another Suite which can not be loaded:

  • kAIPaintStyleSuite

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Participant ,
Jan 28, 2021

Copy link to clipboard

Copied

It depends at which moment you try to acquire suite. It could be that plugin that provides wanted suite is not yet loaded. Try to acquire suites after all plugins have been loaded.

 

Or best way, if you cannot acquire particular suite, release suites you partially loaded before, and from your main entry function try to return kSPSuiteNotFoundError, however i do not remember is this the right code, and AI will try again to load your plugin at some point later in initialization process.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
StefanAchi AUTHOR LATEST
Explorer ,
Jan 28, 2021

Copy link to clipboard

Copied

Thanks, later acquiring of suites fixed the problem!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more