While playing Final Fantasy XIV, my game will crash and display the error message seen in the following picture:



CPU: i7-7700K
GPU: GTX 1080
Motherboard: MSI Z270 PC Mate
Operating System: Windows 10

Here are some things I have already tried:

-Reinstalling FFXIV
-Reinstalling Windows 10
-Reinstalling graphics drivers
-Removing overclock of graphics card and using a more aggressive fan curve
-Turning off all Windows 10 Game Mode features

The crash seems to happen at random. Some days I can play the game without a crash. Some days the crash happens every few minutes and I must stop playing the game. It has happened in areas that are not graphically demanding. My game is installed on the C:\ drive by the way.

Any help is appreciated!