Resolved the issue by going to Controllpanel -> Programs and functions -> Right click on Microsoft Edge WebView2 Runtime -> Click on Change -> Repair and then it got fixed
Game was working fine yesterday and today it won't even open the launcher for the game.
Everytime I click to open the game it closes immediately by itself.
I tried reinstalling the game and that didn't fix the issue either.