diff --git a/scene/2d/navigation_region_2d.cpp b/scene/2d/navigation_region_2d.cpp index bad9de5daa4..9b3c7bb9ea8 100644 --- a/scene/2d/navigation_region_2d.cpp +++ b/scene/2d/navigation_region_2d.cpp @@ -458,6 +458,7 @@ void NavigationRegion2D::_update_debug_mesh() { return; } + rs->canvas_item_clear(debug_instance_rid); rs->mesh_clear(debug_mesh_rid); debug_mesh_dirty = false;