Receiving Error when trying to set composition markers. AE 22.2.0 (Build 120)
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
);
