UXP Error in Premiere Pro Beta 25 2 EvalScript Fails
Product and Version: Adobe Premiere Pro Beta 25.2 Operating System: macOS Sonoma 15.2
Bug Description: Uxp panels cannot run ExtendScript code. Calling the csInterface evalScript function fails in Premiere Pro Beta 25 2.
Steps to Reproduce:
- Create a basic UXP panel. Use manifest json, index html, index js files.
- Include the CSInterface js library file. Tested version 12 and version 11.
- Add a button to the panel.
- Make the button call csInterface evalScript with simple ExtendScript, like an alert.
- Load this panel in Premiere Pro Beta 25 2.
- Open the panel.
- Open the UXP developer console for the panel.
- Click the button.
Expected Result: The ExtendScript code should run. For example, an alert should appear in Premiere Pro.
Actual Result: A TypeError message appears in the UXP console. The error happens inside the CSInterface js file when it tries to run evalScript. Console logs added before the function call show that the required 'window adobe_cep' object is undefined at that moment. This seems to be the cause of the failure.
Troubleshooting Performed: The problem happens even with a minimal test panel. The problem happens with both CSInterface js version 12 and version 11. Console logs confirm 'window adobe_cep' is undefined before the call.
Impact: This stops UXP extensions from using ExtendScript in Premiere Pro Beta 25 2.
Additional Information: The minimal test code and detailed console logs can be provided if needed.
