diff --git a/spine-unity/Assets/spine-unity/Mesh Generation/SpineMesh.cs b/spine-unity/Assets/spine-unity/Mesh Generation/SpineMesh.cs index 162427990..978b9b9ee 100644 --- a/spine-unity/Assets/spine-unity/Mesh Generation/SpineMesh.cs +++ b/spine-unity/Assets/spine-unity/Mesh Generation/SpineMesh.cs @@ -110,9 +110,9 @@ namespace Spine.Unity { const float BoundsMinDefault = float.MaxValue; const float BoundsMaxDefault = float.MinValue; - [NonSerialized] readonly ExposedList vertexBuffer = new ExposedList(); - [NonSerialized] readonly ExposedList uvBuffer = new ExposedList(); - [NonSerialized] readonly ExposedList colorBuffer = new ExposedList(); + [NonSerialized] readonly ExposedList vertexBuffer = new ExposedList(4); + [NonSerialized] readonly ExposedList uvBuffer = new ExposedList(4); + [NonSerialized] readonly ExposedList colorBuffer = new ExposedList(4); [NonSerialized] readonly ExposedList> submeshes = new ExposedList> { new ExposedList(6) }; // start with 1 submesh. [NonSerialized] Vector2 meshBoundsMin, meshBoundsMax;