I have some old fmod designer projects, after i upgraded them to fmod studio project, I noticed that all events have a extra parameter “On Start” and the sound source it put in this parameter, it caused i was unable to get timeline by EventDescription::getLength, I checked the designer projects, there is no event has “On Start” parameter, Could you give me some information about how to solve this issue?
This is part of the migration process. Any sounds that aren’t on a parameter in Designer are now placed on the On Start parameter.
It was a migration decision and best approximation to what the original behavior in Designer would be and also simplify the migration instead of trying to put sounds on timeline.
In regards to getting the play time length of the OnStart parameter, this is not possible as parameters do not have play time lengths. Parameters exist for the entire duration of an event instance’s life cycle.
If you need the length of an event, you will need to move the instruments from the OnStart parameter onto the regular timeline.