Dropdown Menu Control's name resets to the default state when updating via setPropertyParameters
Steps to Reproduce the Bug:
- Create a composition and add a single layer.
- Add a Dropdown Menu Control effect to the layer and then rename it.
- With the 'Menu' sub property of the Dropdown Menu Control effect selected, run a script to update the menu item names using setPropertyParameters.
var dropdownMenuProperty = app.project.activeItem.selectedProperties[1];
var updateNames = ["New Item 1", "New Item 2"];
dropdownMenuProperty.setPropertyParameters(updateNames);
What should have happened?
The script should update the menu items without altering the parent effect's name. The variable dropdownMenuProperty should still reference the menu property.
What actually happens?
Although the menu item names are updated successfully, the Dropdown Menu Control's name is reset to 'Dropdown Menu Control' and the variable referencing the menu sub property is now undefined. A varient of the following error is also thrown:
Exception has occurred: 1
After Effects error: internal verification failure, sorry! {stream at index matchName="Pseudo/@@WcEwVpTvQECXy+gYJaDFAQ" (mismatch with resultP, expected "Pseudo/@@XtRSXGOWT06/y1ORDv7nJw")}
Additional Information:
Apple M1 Max
After Effects version: 24.4.1
Operating System: Ventura 13.3.1 (a)
