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

DoCommand issues in older versions of AfterEffects

Explorer ,
Oct 04, 2023 Oct 04, 2023

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
194
Translate
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

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.

Translate
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

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.

Translate
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
LATEST

Hy thanks @shachar carmi 
That worked

Translate
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