Closed BrutuZ closed 5 months ago
Can't reproduce. Does it happen when running Playnite in safe mode (main menu -> help -> restart in safe mode)?
I don't normally run Playnite in safe mode, it happens when launched with the steps described as I run that daily via Scheduled Tasks.
It doesn't appear to crash when I wake the system right after suspension, but if I stay away for several hours the tray icon will vanish when I hover it and using a desktop shortcut to a game will launch Playnite from scratch, splash screen and all.
Add --safestartup
to those startup arguments and try to reproduce the issue. If it doesn't occur, then it's some addon causing the issue. If it still happens, then no idea. I can't think of anything in Playnite itself that could be causing this.
Also since Playnite just terminates without any crash dialog (or crash info in the logs), it means the crash is not happening anywhere in our code (that would result in crash handler dialog). So I literately don't have anything to go by here if I wanted to debug this. It's most likely crash caused by some 3rd party (addon, app, driver or weird system config).
It happened again today (just powered on the PC, the Scheduled Task triggered soon after, I closed the game after some 15 minutes and left the system alone until it went to sleep), but not when I tried to deliberately trigger it last time with manual suspension or shorter intervals and regular client launches.
It's a weird and inconsistent crash, since it's killed in its sleep without leaving any log trace I didn't really have high hopes on debugging it. Opened the issue in case the few clues might hint to something but doesn't seem to be the case so I'll just cope.
In the off-chance someone runs into this issue, I think I found out the actual reason and it had nothing to do with Playnite, but actually just a couple of Scheduled Task settings.
Bug Description
Playnite crashes when Windows resumes from suspension mode (S3 Power State).
To Reproduce
Playnite.DesktopApp.exe --uridata "playnite://playnite/start/7824d16e-5261-41b5-8a53-b595825717b5" --hidesplashscreen --startclosedtotray
1 minute
| Turn off Hard Disk after20 minutes
| Go to sleep after2 hours
Diagnostics ID
28a9727a-87a1-4ba1-a7c7-cc7dcb32c1b5
Screenshots
No response