15 inch MacBook Pro running macOS Mojave woke up with blue screen from sleep So recently I came home after a few hours to my MacBook Pro (which was plugged in the whole day) and saw this:



What exactly would cause this? 

More information on my system:


Hardware: 2.2 GHz Intel Core i7, 16 GB 2400 MHz DDR4, Intel UHD Graphics 630 1536 MB, Radeon Pro 555X
Software: I have Xcode installed, and the apps running in the background were Settings, Spotify, Atom (the text editor, with a fair number of plugins), and Chrome. 


Update: Under Wilfred's suggestion, I ran a diagnostic. Nothing was picked up; it appears there are no issues according to it.
I suggest booting into diagnostic mode (search here or Google for instructions based on your particular Mac). Either it’s a fluke or your GPU is soon to die.