Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Textures get deleted unintendedly #403

Open
Haukinger opened this issue Jun 29, 2020 · 0 comments
Open

Textures get deleted unintendedly #403

Haukinger opened this issue Jun 29, 2020 · 0 comments

Comments

@Haukinger
Copy link

I create a texture that's shared between different objects that dynamically get created and destroyed. When the last object using a texture gets destroyed, the texture is deleted. So that when I create the next object that wants to use the texture, I get an error.

My workaround is to create materials together with the textures (that are never used), this keeps the textures alive. But I think that it's at least surprising if not an outright bug that a texture gets deleted while I have a reference to it.

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

No branches or pull requests

1 participant