I'm using a PS4 Controller.
Oh yup thats the issue then I dont have a PS4 controller so idk the inputs. I'm surprised unity just doesn't make it whatever select is on the PS4 controller thats odd.
Apparently "Joystick Button 6" in Unity is the share button on a PS4 controller. Try pressing that when you die.