[EventRef] is obsolete in Unity

Hi everyone, I’m having a problem with the EventRef in unity. I’m following this tutorial in order to implement footsteps sound with FMOD and Unity: https://www.youtube.com/watch?v=o381sP1G5bA&t=329s but scripting [FMODUnity.EventRef] results in the error that EventRef is obsolete. I tried to do what Unity gives as a solution but nothing, I tried to do FMOD/Update Event References and still nothing, however in general I looked for possible solutions on the internet but I can't solve it. I thought I'd post the question here because maybe someone else has had the same problem. Thanks in advance!