Im using the following code in Start()
dragEventEmitter = GetComponent<FMODUnity.StudioEventEmitter>(); FMOD.Studio.PARAMETER_DESCRIPTION paramDescription; dragEventEmitter.EventDescription.getParameterDescriptionByName("speed", out paramDescription); drehReglerParamID = paramDescription.id;
Later im using the cached parameter. But it does not work, using string does work. I looked into the debugger and paramDescription looks like it get default values (all zeroes).
After some research it looks like that retrieving the param IDs of events from a Studio Event Emitter component does only work when Preload Sample Data is checked. What exactly does this setting do? Does it create an instance at Awake? If so how is it possible to retrieve the event information like parameter ids without instantiating an event?