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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment