Skip to main content
Inspiring
November 5, 2018
Answered

Illustrator CC 2019 not loading Plugin

  • November 5, 2018
  • 1 reply
  • 10324 views

Hi,

I have a plugin that worked fine till now. But when i updated Illustrator (to CC 2019), the plugin is not loading anymore.

What I found out during debuggin was, that i get an error message while initializing the Suites (Error: 1394689636).

The plugin works on most other Illustrator versions (2015, 2015.3, 2017, 2018), but not on the newest.

I use the CC14 SDK!

Somebody an idead, whats the problem here?

Thanks,

Stefan

This topic has been closed for replies.
Correct answer A. Patterson

Try using the CC2019 SDK. They only support older suite versions for a

couple of releases. I'm surprised it worked for CC2018 frankly.

1 reply

A. Patterson
A. PattersonCorrect answer
Inspiring
November 5, 2018

Try using the CC2019 SDK. They only support older suite versions for a

couple of releases. I'm surprised it worked for CC2018 frankly.

Inspiring
November 8, 2018

I updated to CC2019 SDK, and now my plugin works for Illustrator CC 2019! Thanks!

But now I have the problem, that it does not work for the CC 2018 and CC 2017 anymore.

Is the SDK not backwards compatible?

A. Patterson
Inspiring
November 12, 2018

Supposedly releases are backwards compatible for a couple of versions, but it's sort of on you to make that happen. To do it, you'll need to know what suites you're using and and which versions are available in each release.

E.g. The AIArtSuite gets updated in most releases. That said, it didn't get updated in CC2019, so the version for CC2018 & CC2019 is the same - 20. But CC2017 was version 19. So when you're loading that suite (which I assume you use) you'd have to make sure you don't ask for a version that's not available (i.e. 20 in CC2017).

If you wrote your plugin for CC2017 then you're not making any calls to APIs that were added in CC2018 or CC2019, so you don't have that problem. It can get complicated if you're trying to leverage functionality in the higher versions, because you need to account for that in the lower ones. I don't think that will affect you though from the sounds of it.

You can get the version of the application from the AIRuntimeSuite, but of course, it also has the same constraints, so be careful.

Thinking about it, a cheap & easy way to do this would be to modify the code that acquires suites so that it doesn't fail when it can't get the requested suite, but instead tries with the next version down. So it would start with kAIArtSuiteVersion and if that fails, it would try kAIArtSuiteVersion - 1, etc. If you're using code Adobe ships in their examples for loading suites, it shouldn't be too hard to modify it to do that.