Premiere UXP action constructor intermittently throws “The script object is no longer valid” in 26.5.3 and 27.0.0
- 2 replies
- 38 views
- Translate
Adobe Developer Programs directed me here for a Premiere Pro UXP SDK issue. On macOS, native track-item action constructors intermittently throw “The script object is no longer valid.” before returning an action.
Premiere Pro 2027 (27.0.0 build 88, UXP 9.4.0-local)
A standalone panel reproduced the error with only generated audio and the product plugin unloaded. The fixture had two 60-second mono WAVs and five audio track items. Eighteen controlled edits committed and read back exactly. One of 42 discard-only calls to SequenceEditor.createCloneTrackItemAction threw. In that four-call sample, calls 1, 2 and 4 returned actions. Call 3 threw using the same editor, clip, offset and flags inside the same project.lockedAccess callback. The target was an empty window 61 seconds later. None of the sample actions was submitted. The saved timeline matched the starting geometry.
Premiere Pro 2026 (26.5.3 build 7, UXP 9.3.0-local)
In a separate integration test with a four-camera timeline, one run completed. On a fresh copy of the same source after a plugin panel reload, createMoveAction threw the same exact error. A single guarded retry succeeded. Later, createCloneTrackItemAction threw the exact error while copying a video track item from V1 to a verified empty range on V3. That call returned no action. Premiere 27.0.0 had also stopped at the corresponding placement. The 26.5.3 result comes from the integration workflow; the standalone observation above was made on 27.0.0.
How to reproduce
The attached ZIP includes the prebuilt standalone UXP panel, two generated WAVs, fixture setup and run instructions, and a redacted result from 27.0.0. The portable packaging passed simulated host tests with an identical action schedule. The failure is intermittent, so a single clean run can occur.
With the same resolved operands and an empty destination, I expect the constructor to consistently return an action, or to identify which input is invalid. Is there a supported lifetime or locking pattern we should use for the project, editor, track item or TickTime? Is there a known workaround or a build you recommend testing?
A separate developer reported a similar synthetic audio reproduction on Windows.
