Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam version: godot runs application, and steam eats memory each time it runned + UI Overlay problem #79732

Open
PixelSymbols opened this issue Jul 21, 2023 · 5 comments

Comments

@PixelSymbols
Copy link

Godot version

4.1.stable

System information

Windows 11, steam version

Issue description

Steam overlay works inside Godot

image
image
even tho its disabled

and this maybe what's causing it to eat heavily memory.
this is my memory usage right now:
image
if ill run the project 15 times (by F5)
image
ram will go up
if ill continue doing so 30-40 times more:
image
it will now be +5 gb. And the most weird thing, that its not the godot issue itself, but a steam
image
for whatever reason after you compile and run the project in godot, steam each time eats memory.

So i guess both these issues are connected. That steam does not clean up memory after godot game was closed
image

So there are 2 bugs, one bug is from steam, about memory eating. But i guess the reason is that godot does not send to steam info that game inside godot was closed, which is why steam keeps ui overlay in memory.
Also maybe godot fault or maybe steam fault that disabling (disabled by default) steam's ui overlay for godot does not work, it still works both inside the game engine and the game 🤔

also my current steam settings (maybe its important):
image

Steps to reproduce

Download Godot in steam
run project
run project multiple times

Minimal reproduction project

Download Godot in steam
run project
run project multiple times

@Calinou
Copy link
Member

Calinou commented Jul 21, 2023

This is likely because going from the project manager to editor starts a subprocess, and Steam isn't aware of this. (This is what causes the time tracking issues.)

Can you try opening the Steam overlay while in the project manager?

@PixelSymbols
Copy link
Author

PixelSymbols commented Jul 21, 2023

Can you try opening the Steam overlay while in the project manager?

no, i can't, in project manager overlay does not works, only in the editor and in the game

@PixelSymbols
Copy link
Author

This is likely because going from the project manager to editor starts a subprocess, and Steam isn't aware of this. (This is what causes the time tracking issues.)

So, is it possible to fix right now and will it be fixed in the future, or its unlikely?

@Calinou
Copy link
Member

Calinou commented Jul 21, 2023

So, is it possible to fix right now and will it be fixed in the future, or its unlikely?

#79126 could help with this, but it would add complexity to the buildsystem as described in its comments.

@Zireael07
Copy link
Contributor

#79639 is likely related to this one too (the latest comment mentions steam overlay)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants