Skip to main content
Participant
Sep 24, 2026 11:18 AM UTC
Open for Voting

MogrtText write-back causes getStartValue() to reject previously readable text

Summary

In Premiere Pro (Beta) 27.0.0 Build 57, a MogrtText value can initially be read successfully through the public UXP API. However, after writing the text back once through a transaction, the same parameter can no longer be read with getStartValue().

Environment

- Adobe Premiere Pro (Beta): 27.0.0 BETA StaticLib (Build 57)
- Premiere UXP: uxp-9.4.0-local
- After Effects: 26.5.0 (Build 89)
- Adobe UXP Developer Tools: 2.3.0.5
- Windows 11 Home, Version 25H2 (OS Build 26200.9457)

MOGRT configuration

The MOGRT was created in After Effects 26.5.0.
It contains one non-animated text layer with uniform styling.

Exposed text parameter:
ShizukuText

Initial text:
字幕テスト

Steps to reproduce

1. Place the AE-created MOGRT on V1.
2. Retrieve the exposed ShizukuText parameter through the UXP API.
3. Call getStartValue().
4. The returned value is successfully recognized as MogrtText.
5. getText() successfully returns "字幕テスト".
6. Call setText("字幕テスト成功!") on the MogrtText value.
7. Create a keyframe and a set-value action, then execute it through executeTransaction().
8. executeTransaction() returns true.
9. Reacquire the same MOGRT clip and ShizukuText parameter.
10. Call getStartValue() again.

Expected result

The parameter should remain readable as MogrtText and return the updated text.

Actual result

After the write transaction, the MOGRT disappears from the Program Monitor although the clip remains on V1.

The ShizukuText parameter still exists and isTimeVarying() succeeds and returns false.

However, getStartValue() now fails with the following exact error:

MogrtText is encoded in a format that is not supported by this version of the API.

Before the write, the same parameter was readable and getText() returned "字幕テスト".

Premiere's Properties > Template panel continues to display the original value "字幕テスト" after the failed state.

The thrown error is a string rather than an Error object:
typeof error: string

Additional note

This report does not assume that Japanese text, the font, AE-created MOGRTs, or Premiere Beta itself is the root cause. These have not been independently established as the cause.

The issue reproduced during this test after one write transaction; automatic retries were not performed.


[Moved to Premiere (Beta) by a moderator]

    3 replies

    Participant
    Nov 12, 2026 2:12 PM UTC

    Still reproduces in the release build: Premiere Pro 27.0.0 (build 88), macOS, Apple Silicon (UXP plugin loaded via UXP Developer Tool)

    Reading MogrtText works. Writing it back breaks the parameter. This happens every time, with every write variant we tried.

    Setup: a new project, a new sequence, and a .mogrt subtitle template with one text parameter ("Main Text", single run, isUniformStyling() === true). Each template is inserted with SequenceEditor.insertMogrtFromPath.

    Steps:

     

    const ppro = require('premierepro');
    const project = await ppro.Project.getActiveProject();
    // item = VideoClipTrackItem of the inserted MOGRT; param = "Main Text" in the "AE.ADBE Capsule" component
    const value = await param.getStartValue(); // OK
    value.getText(); // OK -> "надзвичайної ситуації\rв Республіці Крим."

    value.setText('Ми замерзаємо. #2'); // (variant B: const value = new ppro.MogrtText(); value.setText(...))
    let ok;
    project.lockedAccess(() => {
    const kf = param.createKeyframe(value);
    const action = param.createSetValueAction(kf, true); // (variants: true / false)
    ok = project.executeTransaction(ca => ca.addAction(action), 'set mogrt text');
    });
    // ok === true

    await param.getStartValue();
    // throws (string): "MogrtText is encoded in a format that is not supported by this version of the API."

    Results: 62 templates in total, across two runs (50 + 12).

    Write variant Writes OK, then read back
    value from getStartValue(), safeForPlayback = true 0 / 3 (and 0 / 50 in the first run)
    value from getStartValue(), safeForPlayback = false 0 / 3
    new ppro.MogrtText() + setText, safeForPlayback = true 0 / 3
    new ppro.MogrtText() + setText, safeForPlayback = false 0 / 3

    What we see after the write:

    • executeTransaction returns true.
    • Re-reading through the same ComponentParam throws the error above. Re-reading through a freshly fetched track item, component chain and param throws the same error.
    • The Graphics panel (Text) shows Main Text: <empty> for every written clip.
    • Saving, closing and reopening the project doesn't help: nothing readable remains.
    • Plain ASCII text and Ukrainian text fail the same way, with and without \r line breaks.

    Expected: after a successful transaction, getStartValue() returns the new text and the template renders it, the way ExtendScript setValue does for the same template in CEP today.

    Impact: this is the only missing piece that keeps our caption plugin on CEP, which inserts and fills hundreds of MOGRT captions per sequence. Everything else we need works in UXP 27.0. Is this tracked internally, and is a fix planned for 27.1?

    Translate
    Participant
    Nov 2, 2026 10:02 PM UTC

    On macOS, the original MOGRT text reads successfully. Writing through a UXP transaction succeeds, but subsequent getStartValue() fails with “MogrtText is encoded in a format that is not supported by this version of the API.” Constructing a fresh MogrtText produces the same failure. In that test, the rendered caption changed to “Word” instead of the submitted text

    Translate
    Legend
    Oct 24, 2026 5:48 PM UTC

    Still reproduces in 27.1.0 Beta (build 25), UXP 9.4.0, Windows. Reading text from a freshly placed MOGRT works. After one write the text can’t be read back (same error) and disappears from the Program Monitor.

    Translate