I’m getting FMOD script errors during webgl build but everything works fine in editor
Assets\Scripts\Audio\FMODEventInstanceManager.cs(24,45): error CS1061: 'EventReference' does not contain a definition for 'Path' and no accessible extension method 'Path' accepting a first argument of type 'EventReference' could be found (are you missing a using directive or an assembly reference?)
Here is my script
// Constructors can now delegate to the private method
public FMODEventInstanceManager(EventReference soundEvent, int eventMaxCount)
{
CreateEventInstances(soundEvent.Path, eventMaxCount);
}
public FMODEventInstanceManager(string soundEventPath, int eventMaxCount)
{
CreateEventInstances(soundEventPath, eventMaxCount);
}