Can't retrieve list of label parameters (enumerationLabels) in Scripting API FMOD 2.03

Hello,

I’ve been using the Scripting API to export spreadsheets from our game and it’s been working for a while, but since I updated to FMOD 2.03.06, the parameterPreset.enumerationLabels for all parameters always returns null.

To test this, I just made a new empty project with one event and added the following parameter setup:

So if I try something like this it will always print null/empty:

var parameters = studio.project.model.ParameterPreset.findInstances();
for (i = 0; i < parameters.length; i++) {
    console.log(parameters[i].enumerationLabels);
}

In the ParameterPreset XML everything seems to be correct, I can even get all the values correctly, like parameterType, minimum, maximum, initialValue, etc, but not enumerationLabels:

I know there’s nothing wrong with the project setup or the FMOD scripts, as I’ve been using it for about a year and it has always exported everything correctly.

Has there been any change in the Scripting API Im not aware of?

Thanks

Hi,

Thank you for sharing the detailed information and bringing this to our attention.

I’ve been able to reproduce the issue and have passed it along to our development team. I’ll keep you updated as soon as we have any progress or a fix available.