• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
3

DoCommand issues in older versions of AfterEffects

Explorer ,
Oct 04, 2023 Oct 04, 2023

Copy link to clipboard

Copied

I had used the commands 2372 and 2373 (clear image memory and cache) to reload the frames in my AfterEffects plugin. I had also used command hook to update a floating slider param value which will reload my frames. But now when I'm checking on AfterEffects 2022, the commands 2372, 2373 and the commandhook, all are crash with an "internal verification failure" error. Like I have tried commenting out 2372 and 2373 or commandHook, but the internal verification failure error popup appears for each one of them.
For commandHook, I tried to debug the commandHook function that is called, and the error occurred on the last step which was SetstreamValue to update param value. It gave a thread alert.

But again, I would like to mention that everything works fine on AfterEffects 2023, be it the commands or commandHook

TOPICS
Crash , How to , SDK

Views

119

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 04, 2023 Oct 04, 2023

Copy link to clipboard

Copied

The crash says "UI API called on a background thread", but I used the commandHook only so that I can reload my views from the background thread.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 08, 2023 Oct 08, 2023

Copy link to clipboard

Copied

was the command hook invoked by a background (render perhaps?) thread? if so, that other thread might still be in mid call.

try doing the purge calls from idle_hook instead.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 09, 2023 Oct 09, 2023

Copy link to clipboard

Copied

LATEST

Hy thanks @shachar carmi 
That worked

Votes

Translate

Translate

Report

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