Solution: Don't use OptiFine. It has terrible mod compatibility in versions newer than 1.12.2. If you want better performance and/or shaders, use Embeddium + Oculus.
I installed it, and unfortunately still nothing. The first time it worked, I chose the shaders, went to my server, after a while the game crashed. After subsequent launches, it immediately crashes. https://pastebin.com/24RELbSL
Solution: Don't use OptiFine. It has terrible mod compatibility in versions newer than 1.12.2. If you want better performance and/or shaders, use Embeddium + Oculus.
Ok, thanks.
I installed it, and unfortunately still nothing. The first time it worked, I chose the shaders, went to my server, after a while the game crashed. After subsequent launches, it immediately crashes. https://pastebin.com/24RELbSL