How to reproduce:
1. Open the user’s attached “WorldMapBug.zip” project
2. Open Menu > Tools > World Map - Too Many Vertices - Bug
3. Observe the Console window
Expected result: No errors
Actual result: Error “A VisualElement must not allocate more than 65535 vertices” appears
Reproducible with: 2022.2.4f1, 2023.1.0b1
Could not test with: 2020.3.44f1, 2021.3.17f1 (“Painter2D” not available)
Reproduced on: macOS 12.4 (Intel)
Note: Error saying "A VisualElement must not allocate more than 65535 vertices" but the map only contains 10500 vertices