GetParameterDescription called in Construction Script (Or OnConstruction in C++) returns empty array when running in a packaged build

Hi
I’ve been struggling with this for a while now.
The GetParameterDescriptions function in UFMODEvent is supposed to return an array of type FMOD_STUDIO_PARAMETER_DESCRIPTION.
I’m trying to get FMOD parameter names in the construction script. When I call GetParameterDescriptions in the construction script, it populates the array fine and the values stick when playing in the editor. However, when playing in Standalone or in a packaged build, the array comes out to be empty.

Is there something I’m missing here?

It looks like GetParameterDescriptions was not intended to be used outside of the editor, which is why it does not work in Standalone or a packaged build.

The issue is the EFMODSystemContext in this line of UFMODEvent::GetParameterDescriptions:

FMOD::Studio::EventDescription *EventDesc = IFMODStudioModule::Get().GetEventDescription(this, EFMODSystemContext::Auditioning);

The fix should be as simple as changing it to EFMODSystemContext::Max, this will then use a valid FMOD System at runtime.

I have added a task to implement this fix for an upcoming release.

Hi,
I am facing the same problem, I can’t get event parameter descriptions in packaged build, before I go ahead and modify the function from the plugin in my project, is this the only solution there is? is there a good reason for keeping the EFMODSystemContext as Auditioning?
I need the event parameter descriptions so I can check if an event accepts a specific parameter before trying to use SetParameter. If there is a good reason for hiding these descriptions in Packaged builds maybe I should find a different solution to my problem