Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.1f1
Issue ID
1020576
Regression
No
[ProBuilder] Errors thrown after undoing painting vertices of some shapes
How to reproduce:
1. Create a new project with ProBuilder asset package
2. Tools/ProBuilder/ProBuilder Window
3. New Shape -> Build Door
4. Vertex Colors -> Paint a few vertices of the door
5. Undo a few times
6. Observe the errors in the console:
"Mesh.colors is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEngine.Mesh:set_colors(Color[])
pb_VertexColor_Editor:OnSceneGUI(SceneView)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"
Reproduced with: 5.6.6f1, 2017.4.1f1, 2018.1.0f1, 2018.2.0b1, 2018.3.0a1-c6c068127f2b
Note: Not reproducible with all shapes.
---
The vertex painter in ProBuilder is deprecated as of ProBuilder 4.0.0. It's functionality is superseded by Polybrush.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment