Page 1 of 1

Vulkan render device leaks VkImageView when using WrapTexture.

Posted: 17 Jan 2026, 15:11
by maverikou
Hi,

This is about the Vulkan renderer provided in the native SDK 3.2.9 / 3.2.10.

When redirecting texture loads to the engine via a custom TextureProvider that calls WrapTexture, the resulting VKTexture has hash=0 and gets a VkImageView created in VKRenderDevice::TextureHash, eventually leaking it as VKRenderDevice is not responsible for cleaning up that texture.

Fixing it locally is not a big deal, so just wondering if there are any updates coming up.

Re: Vulkan render device leaks VkImageView when using WrapTexture.

Posted: 19 Jan 2026, 21:02
by jsantos
This is indeed a bug. Thanks for catching it!

Please create a ticket, and I’ll work on a fix for the upcoming 3.2.11 release.

Re: Vulkan render device leaks VkImageView when using WrapTexture.

Posted: 20 Jan 2026, 12:36
by jsantos
Ticket #4713