Copy link to clipboard
Copied
When I'm trying to set marker on a composition in After Effects it ends up with an Erorr:
CSelectronASSERT fail: CSelectron: layer is null
Right before AE 22.2.0 update it was working fine.
My code:
var trackMarker = new MarkerValue(
this.tracks[this.marksCount - 1].credits
);
trackMarker.duration = trackDuration;
trackMarker.label = (this.marksCount - 1) % 16;
uiElements.items.video.markerProperty.setValueAtTime(
this.cursor - trackDuration,
trackMarker
);
The issue has been fixed in the latest beta. See here:
For AE 22.2, the workaround seems to be to wrap markerProperty.setValueAtTime() in a try/catch block. More here:
Copy link to clipboard
Copied
The issue has been fixed in the latest beta. See here:
For AE 22.2, the workaround seems to be to wrap markerProperty.setValueAtTime() in a try/catch block. More here: