Need help playing event and adjusting a parameter

I’m extremely new to the world of game audio, but am a composer.

I’m working with unity on a simple platformer game.
I’m trying to write a script for emitting an event in fmod and adjusting a parameter, but can’t even get the event to play in unity. I do have a studio listener but I’m still getting nothing. If someone can please help me! My script as follows:

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MusicController : MonoBehaviour
private FMOD.Studio.EventInstance music;

public string fmodEvent;

[Range(0f, 20f)]
private float intensity;

void Start()
    music = FMODUnity.RuntimeManager.CreateInstance("event:/gameplay music");

void Update()
    music.setParameterByName("Intensiy", intensity);


Are you able to audition the event in Unity? In Unity click FMOD > Event Browser and ensure you can select and play that event.

Check for any error messages in the Unity console. Are there any errors?

Also, please note that your “Intensity” parameter is typed out as “Intensiy” in the code you pasted.