Search Issue Tracker

Fixed

Fixed in 1.1.X

Votes

2

Found in [Package]

1.1.4

Issue ID

POLBR-14

Regression

Yes

Polybrush tools corrupt GameObject vertexes when the GameObject is made using Probuilder tools

Package: Polybrush

-

Reproduction steps:
1. Open the attached project “PolyBreakProject”
2. Open the “Assets/Scenes/SampleScene” scene
3. Open the Polybrush window (Tools > Ploybrush > Polybrush Window)
4. Select any paint tool in the Polybrush window
5. In the Hierarchy select “Cube” GameObject
6. In the Scene view use the selected Polybrush tool on the “Cube” GameObject

Expected result: The tools change the appearance of the cube depending on the selected tool
Actual result: The Polybrush tools corrupt the GameObject and “Mesh.vertices is too small. The supplied vertex array has less vertices than are referenced by the triangles array.” error is thrown in the Console

Reproducible with: 1.1.4 (2020.3.47f1, 2021.3.24f1, 2022.2.17f1, 2023.1.0b13, 2023.2.0a12)
Not reproducible with: 1.1.3 (2020.3.47f1)

Reproducible on: macOS 13.3 (Intel)

Comments (1)

  1. bugfinders

    Jul 27, 2023 14:34

    This issue also applies to windows

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.