-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
PlaceholderCubemapArray.new()
causes memory leak with GLES3
#77762
Comments
It seems that failing to create a resource like texture here locks up the RID, the free method should probably not block freeing the RID as long as the RID is still valid |
i have the same problem! |
I got the same error message in 4.1.1 with a newly created empty project (attached).
The project is created in 4.0.3 because I wanted to see if Godot 4.0.3 had the same error (it was fine). The error messages are observed in console after opening the project in 4.1.1. I guess some part of the editor might be using Cubemap and is thus broken, but I didn't notice anything. |
The texture resource tracking was added in 4.1, so if there is a memory leak, it is present in 4.0.3 as well. More likely there is no memory leak and the system just isn't properly registering that no memory was allocated when the cubemap array fails to be created. |
Godot version
4.0 621d68e
System information
Ubuntu 22.04 CI
Issue description
leaks memory only in GLES3
Steps to reproduce
Above
Minimal reproduction project
Above
The text was updated successfully, but these errors were encountered: