So basically i get this DXGI device removed error and then it shuts down the game. It seems to happen at random and my PC meets specs. It happened when my PC was brand new so its not like i may have removed the device at some point
DXGI would be referring to DirectX Graphics Infrastructure, which is an API the game uses to communicate with your graphics card. The error would suggest that your graphics card driver has crashed. However, it is not that simple, so you will need to troubleshoot the issue with an open mind. Please refer to the Experiencing Technical Issues Guide.
Then I would suggest right click TSW3 then selecting Properties, then select Local Files then do a Verify integrity of Game Files.