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
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.
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.
Copy link to clipboard
Copied
Hy thanks @shachar carmi
That worked
Find more inspiration, events, and resources on the new Adobe Community
Explore Now