I just changed to the new integration package between FMOD and Unity (1.09.06) and everything seems to work except for the SetParameter method… It appears as if it just completely ignores the line of code that calls for a parameter change. I was wondering if anybody knows how to fix this. I’m using FMOD ver. 1.09.06 and UnityIntegrationPackage 1.09.06v2, with Unity ver 5.04.0f3. This is my code:
Nope none at all… it’s like if it didn’t even realized the line exists. I even changed the parameter name in the SetParameter to something random to see if it gave me an error but it just seems to ignore that line!
I can’t see a reason why it wouldn’t work, try using the following code, it basically does the same thing but instead of using a FMODEventEmitter script it just creates an event and sets the parameter value. If this works then there may be an issue with the emitter:
This works! I think I can find a workaround for what I was trying to do with this code. However, is there an explanation why my emitters are not working in this new version? It would still be easier for me to solve this issue first as there are too many events changing parameters and I’d have to change the code in all of them! Thank you so much for this tho!
I can’t reproduce the issue, emitters are still working fine here. It could be an issue caused by the upgrade between 1.08 and 1.09. You could try deleting the Assets/Plugins/FMOD folder and re-importing it.