An unknown DirectX error has occured and League of Legends cannot start.?

So I've been getting these error messages since a few days for no particular reason. Sometimes my League client works, sometimes it doesn't. I get this error when I start a game, and during the loading screen, the window becomes smaller, and the client closes with the error message mentioned above. My latest DirectX is 11, and I didn't mess with the DirectX ever since I reinstalled my PC (few weeks ago). What causes this error and why it's random? I'm really afraid to jump into a game because of this.

We're testing a new feature that gives the option to view discussion comments in chronological order. Some testers have pointed out situations in which they feel a linear view could be helpful, so we'd like see how you guys make use of it.

Report as:
Offensive Spam Harassment Incorrect Board