I have been trying to make a first person horror game and I am at the point where I need to add footstep sound effects. I am new to Unity and I am using a tutorial to try to get the hang of it, whilst making my game. This tutorial told me to use a Starter Assets first person controller from the Unity Assets store, but it had been taken down and I used a different one which was pretty similar. In the tutorial, the guy used a premade footstep script to make his, but I don’t have that because I am using a different asset. So I have been trying to make my own and I have failed with an error saying “Value cannot be null.” I don’t know what this means or how to fix it. I have deleted my footsteps script, but I still have my First Person controller asset (the player movement script) if it is needed. I am not going to put this here because it is very long and I don’t understand much of it, just know I can provide it if needed for any people willing to help me solve this.
I tried making it myself and it just wouldn’t work, so I am trying to find a way to make it myself. I have looked for tutorials and they are outdated, and I have looked at reddit and other websites to try and find a script, or a helpful tutorial, but I can’t find anything.