Hi,
The issue is the Global Parameter Trigger Script
is silently failing in its awake function. I have passed this on to our development team to look into further. Thank you for bringing this to our attention.
In the meantime, you can add the Lookup()
function to the TriggerParameters()
function to make sure you have a valid parameter.
public void TriggerParameters()
{
FMOD.RESULT result = Lookup();
if (result != FMOD.RESULT.OK)
{
Debug.Log(result.ToString());
}
if (!string.IsNullOrEmpty(Parameter))
{
result = RuntimeManager.StudioSystem.setParameterByID(parameterDescription.id, Value);
if (result != FMOD.RESULT.OK)
{
RuntimeUtils.DebugLogError(string.Format(("[FMOD] StudioGlobalParameterTrigger failed to set parameter {0} : result = {1}"), Parameter, result));
}
}
}
If there are any updates on the issue I will let you know.