Same problem.
We purchased 2 new iMac 2019 customized i9 with Radeon Pro Vega 48 and 1Tb Samsung EVO 860 SSD running MacOS Catalina.
For sure (100% sure), problem start when you use 2 external monitors. At moment iMac sleep, can happens two issues:
a) iMac freeze (you can move mouse but no windows/program response)
b) Kernel panic and obviously restart
I made, literally, thousand of different tests, like:
· Turn off all sleeps mode
· No NTFS drives attached
· Tested with fresh Catalina installation (Using only SSD and Fusion Drive)
· Tried to use "Caffeine" APP to prevent sleeps
· Running MacOS Catalina Beta 3 (10.15.3 beta 19D62e)
No luck, always crash if I use two external screens.
Well, there are an option I don't tried yet: Install MacOS Mojave (because I use my iMac for work and I need to do id, I can not waste more time with this), so really I don't know if can be work well with 2 external screens or not.
Now, this is my provisional solution: Use only i external screen.
I'd using two monitors (3 total screens) since 4 years, so change is so important in my workflow, but always better than leave my computer to speak at phone for 5 min and come back my desk and find my mac hanged :(
My conclusions/reasons:
· This is a software problem (100% sure). I tried to compile heavy videos and raw pictures (reason I purchased this two units)
· Issue should be located at Radeon Pro Vega Driver, Sleep system or USB-C controller
· At other iMac, exactly same configuration, where we're using only one external monitor and, since we turned on first time (5 days right now), never crashed.
· My old iMac (iMac late 2013 i5 G-force 2Gb and 500Gb SSD) I was using 2 external screens (same screens I'm using right now), never crash using Catalina also (final and beta versions).
· I read from other people here, using Macbook Pro with Radeon and Radeon Pro with same problem, this is because I'm pretty sure problem is more focused on sleeping mode than radeon driver, but I can not check deeply yet (and it's not my job).
This is absolutely insane. I spent close 8000€ (like $8500) purchasing 2 amazing and powerful computers for my business, I had to negotiate with my bank, I was waiting 6 weeks since arrive (because was personalized models and, at least here, in Spain, takes a lot of time) and finally, we discover this issue.
Of course, I was talking with Apple Support. They told me "No problem sr. We'll replace your computer". Really? It means other 6 weeks waiting to receive an identical machine with same software issue? No, thanks!
Hope come soon a new Catalina. Maybe this weekend, if I have more free time I decide to install Mojave and try. I promise come back here and share with you my new test.