Bootcamp crashes on startup
I've had an issue with Bootcamp for a while now on my 13" MBP 2019 where it crashes on startup and I get a kernel panic report when it boots back into macOS. It may happen after it randomly shuts off while in Bootcamp while the computer is shut (the computer shuts itself down for no reason whenever I leave my laptop lid shut in Bootcamp for any decent length of time), as I noticed that that precipitated the most recent panic.
Basically, I try to boot into Bootcamp, I reach the login screen, the input doesn't work, then the fans spin and the computer shuts off. The kernel panic report on macOS contains the following description of the error: panic(cpu 0 caller 0xfffffff0239234b8): PUP PANIC - deserialize: saved state does not match current state. serialization cursor 0x2d9b4 - pup-workloop(1). Bootcamp works fine after I reboot it, at least until I run into the issue again.
There are a few other posts about this with no solutions. I've reinstalled macOS and Bootcamp in the past to try to fix it to no avail, and I've contacted both Apple's and Microsoft's support teams. I've also done SMC/PRAM/NVRAM resets. If anyone has any suggestions, please let me know.
MacBook Pro 13″, macOS 11.2