After Effects (Beta) 27.1 UXP: Crashes When Expanding selectedProperties in UXP Debugger

Hi everyone,

We’re using the UXP Debugger to debug our After Effects plugin and have encountered an issue that consistently causes After Effects to crash.

When we log the selected properties of the active composition using console.log() and then try to expand one of the returned property objects in the UXP Debugger console, After Effects crashes immediately.

Code to reproduce:

console.log(app.project.activeItem.selectedProperties);

Steps to reproduce:

  1. Open a composition in After Effects.

  2. Select one or more properties from a layer.

  3. Execute the code above.

  4. In the UXP Debugger console, expand the logged array and then one of its property objects.

  5. After Effects crashes immediately.

Expected behavior: The debugger should allow us to inspect the selected property objects without crashing After Effects.

Actual behavior: After Effects crashes as soon as we attempt to expand a property object in the debugger.

Screenshot:

bug

Has anyone else encountered this issue, or is this a known bug?

Seems pretty much the same as this crash: 💥 CRASH: InDesign crashes in very basic scenario

Can you adjust my code to AE to verify it?

Hey Jarda,

I recreated the same scenario. All I really had to do is to swap indesign with aftereffects. This is the result:

_dvascp_exp_wrap_isStagingEnvironment
aftereffects.ts:206 crashed on: _dvascp_exp_wrap_isStagingEnvironment Error: Connection to object lost
aftereffects.ts:205 addEventListener
aftereffects.ts:205 removeEventListener
aftereffects.ts:205 dispatchEvent
aftereffects.ts:205 constructor
aftereffects.ts:212 // done

It was saying “crashed on” but wasn’t really crashing After Effects, UDT or anything really. After reading your post, I think it’s a bit different case.