RenderingServer.create_local_rendering_device()
memory leaks
#71003
Labels
Milestone
RenderingServer.create_local_rendering_device()
memory leaks
#71003
Godot version
v4.0.beta10.official
System information
Debian GNU/Linux 11 (bullseye), Intel Core i3-8130U CPU, Mesa Intel UHD Graphics 620 (KBL GT2)
Issue description
Memory leaks occur while using
RenderingServer.create_local_rendering_device()
. Moreover, the engine crashes after creating many local rendering devices (even if this is done in a scoped environment, see below). Ifrendering_device.free()
is called, the following warning appears:drivers/vulkan/rendering_device_vulkan.cpp:8957 - 1 RID of type "<...>" was leaked.
, where<...>
is any object, created with local rendering device (Shader, Texture, ...).Steps to reproduce
The following code reproduces the bug:
Minimal reproduction project
RDMemoryLeak.zip
The text was updated successfully, but these errors were encountered: