I think i figured out why the game crashes after beating a song. When I was running the command with the game, it gave me an error saying,
Error : [file_open,assets/replays/replay-too-slow-time1641930320657.79.kadeReplay]
I think kade engine's replay system dosen't work well on mac.
Edit: The replay menu dosent even exist. You go into the replay menu in options and then the game crashes. The command says,
Invalid directory
Error : Invalid directory