iMac keeps crashing after Catalina upgrade
I have a 2019 iMac (Core i9, 64GB of RAM, Radeon Pro Vega 48, 2TB SSD) that I upgraded to Catalina. I thought everything was working fine until I stepped away from my computer for about half an hour and came back to the log in screen; upon logging in, it said my computer had restarted. Submitted the crash report to Apple. I thought it was a glitch. Kept working, then later on, same thing happened. Stepped away, and came back to the same thing. Submitted the crash report to Apple again. Then it happened again. And again. And again. Today, same thing; computer keeps crashing, over and over and over.
I've changed nothing in terms of hardware or software between yesterday and today (or since I set up this iMac a few months ago), except for upgrading to Catalina. Under Mojave, there were no issues.
If anyone has any idea how to resolve this, that would be greatly appreciated!
Below is one of the many, many crash reports, but they all look similar in terms of it seeming to be related to com.apple.WindowServer:
iMac Line (2012 and Later)