diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index 92367eab8bc..793926214a6 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -797,4 +797,5 @@ ResourceImporterTexture::ResourceImporterTexture() { } ResourceImporterTexture::~ResourceImporterTexture() { + singleton = nullptr; }