The Planet Crafter

The Planet Crafter

View Stats:
JDub Oct 23, 2024 @ 2:46pm
Does the game deal well with putting the computer to sleep?
For me, first time I tried it, the game would not come back from sleep and I had to kill the process. Is that unusual? Most games manage to deal with this fine.
< >
Showing 1-10 of 10 comments
CaBux Oct 23, 2024 @ 3:20pm 
Never tried. Game has a quick load time so always just save and exit the game when I'm going to be away from my PC for any length of time
Jaunitta 🌸 Oct 23, 2024 @ 3:33pm 
No !!!
It shouldn't be possible. As the game is a local application on your PC and not running on a cloud or a dedicated server it should have stopped as the PC is in sleep mode.
Last edited by Jaunitta 🌸; Oct 23, 2024 @ 3:35pm
JDub Oct 29, 2024 @ 5:46pm 
Just happened again. Saved, did not quit to main menu, slept computer, resumed. Game froze up.

If I quit to main menu it resumes fine.
Jaunitta 🌸 Oct 29, 2024 @ 9:38pm 
Leaving the game running will cause an extra load on your windows ram cpu and gpu Vram to directly return.
Paused is fine.
Are you trying to idle lol it wont help get through the final stage very slow process. Took me week or more..
Leave the game running and computer on just turn off the monitor.
Good Luck dont fry your gpu.
mahpally Oct 31, 2024 @ 3:36pm 
Originally posted by Jaunitta 🌸:
No !!!
It shouldn't be possible. As the game is a local application on your PC and not running on a cloud or a dedicated server it should have stopped as the PC is in sleep mode.

As Juanitta said above, you cannot put your computer to sleep and keep the game working. Sleep literally shuts some computer components down and waits for an input signal to turn back on (similar to how wake-on-lan works).

If you're trying to leave the game running while you're actually sleeping, leave the game running, change the graphics to low / 15 fps > look at the floor > save > turn your monitor off. On a side note: make sure you're inventory is empty.

This keeps the game running, however, since the monitor itself is off, the GPU workload is actually lessened. And yes, I tested it on mine and I have dual monitors and monitored the GPU via HWiNFO.
Manachanter Nov 1, 2024 @ 4:33am 
Or just close the game completely! Come on, it takes ~20s to load it again, why do you need to leave it running? This is a non-issue.
JDub Nov 1, 2024 @ 8:12pm 
Originally posted by Manachanter:
Or just close the game completely! Come on, it takes ~20s to load it again, why do you need to leave it running? This is a non-issue.

It's an issue because other games manage this fine.

"Oh just close the game all the way" -- how about no, because other games manage this fine?

I have a workaround, I already posted it. I don't need your input.
JDub Nov 1, 2024 @ 8:13pm 
Originally posted by mahpally:
Originally posted by Jaunitta 🌸:
No !!!
It shouldn't be possible. As the game is a local application on your PC and not running on a cloud or a dedicated server it should have stopped as the PC is in sleep mode.

As Juanitta said above, you cannot put your computer to sleep and keep the game working. Sleep literally shuts some computer components down and waits for an input signal to turn back on (similar to how wake-on-lan works).

you're both wrong. I do this all the time with other games. They manage just fine.
JDub Nov 1, 2024 @ 8:14pm 
I REPEAT:

If I quit to main menu it resumes fine and then I just reload the save. Takes an extra few seconds, but it's NBD.. So I don't really need more input here.
Crescens Nov 2, 2024 @ 10:04am 
You may not need any more input, but I'll provide more anyway.

The ability for games to handle sleep depends entirely on how well they deal with device lost situations. I don't think it is too surprising to learn that if the system goes to sleep then any software running will lose access to the hardware.
Anything that accesses 3D rendering hardware and sound hardware is normally written in such a way that it can handle intermittent errors, as an example, Direct3D 11/DXGI can return errors such as DXGI_ERROR_DEVICE_RESET or DXGI_ERROR_DEVICE_REMOVED if there is a problem rendering a frame to the swapchain. In this case, the application can re-scan for devices and then recreate everything it needs. It is generally way too easy to write software under the assumption that things will never go wrong.
Since I'm not familiar with Unity and the level of control it gives in this area,then it is possible that Unity itself doesn't properly handle the device lost state.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Oct 23, 2024 @ 2:46pm
Posts: 10