diff --git a/scene/resources/mesh.cpp b/scene/resources/mesh.cpp index a02ac81c87c..eb3f4040eba 100644 --- a/scene/resources/mesh.cpp +++ b/scene/resources/mesh.cpp @@ -1679,6 +1679,7 @@ void ArrayMesh::_set_surfaces(const Array &p_surfaces) { } surfaces.clear(); + clear_cache(); aabb = AABB(); for (int i = 0; i < surface_data.size(); i++) {