diff --git a/drivers/gles3/storage/mesh_storage.cpp b/drivers/gles3/storage/mesh_storage.cpp index 630bfdf1b7c..e94054001e8 100644 --- a/drivers/gles3/storage/mesh_storage.cpp +++ b/drivers/gles3/storage/mesh_storage.cpp @@ -844,6 +844,7 @@ void MeshStorage::mesh_clear(RID p_mesh) { mesh->surface_count = 0; mesh->material_cache.clear(); mesh->has_bone_weights = false; + mesh->aabb = AABB(); mesh->dependency.changed_notify(Dependency::DEPENDENCY_CHANGED_MESH); for (Mesh *E : mesh->shadow_owners) { diff --git a/servers/rendering/renderer_rd/storage_rd/mesh_storage.cpp b/servers/rendering/renderer_rd/storage_rd/mesh_storage.cpp index 7537e70235a..578880dc0d4 100644 --- a/servers/rendering/renderer_rd/storage_rd/mesh_storage.cpp +++ b/servers/rendering/renderer_rd/storage_rd/mesh_storage.cpp @@ -851,6 +851,7 @@ void MeshStorage::mesh_clear(RID p_mesh) { mesh->surface_count = 0; mesh->material_cache.clear(); mesh->has_bone_weights = false; + mesh->aabb = AABB(); mesh->dependency.changed_notify(Dependency::DEPENDENCY_CHANGED_MESH); for (Mesh *E : mesh->shadow_owners) {