I am having this issue as well. It crashes immediately after hitting play from the launcher. I am able to play vanilla minecraft and also optifine, both 1.21.4 and before. How do I view the crash report? I am on Ubuntu 20.04. I checked my ~/.minecraft folder and the crash isn't there. On the launcher I see
"An unexpected issue occurred and the game has crashed. We're sorry for the inconvenience.
Crash dump sent!
Exit Code: 1"
I am trying to play version 1.21.4-54.0.17, which I downloaded from the forge website.
Edit: I found the crash logs, had to delete the old launcher logs since I had too many. Here is the log data (https://sending.pastefor.help/upload/506fa956). I am trying to run forge 1.16.1 client now.
Edit2: Turns out forge 1.16 doesn't work with java 21, fixed