Browse Source

Merge branch '4.1' into 4.2-beta

Harald Csaszar 1 year ago
parent
commit
0b287f9a0a

+ 4 - 0
spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonRenderSeparator/SkeletonPartsRenderer.cs

@@ -85,6 +85,10 @@ namespace Spine.Unity {
 			}
 		}
 
+		void OnDestroy () {
+			if (buffers != null) buffers.Dispose();
+		}
+
 		public void ClearMesh () {
 			LazyIntialize();
 			meshFilter.sharedMesh = null;

+ 1 - 1
spine-unity/Assets/Spine/package.json

@@ -2,7 +2,7 @@
 	"name": "com.esotericsoftware.spine.spine-unity",
 	"displayName": "spine-unity Runtime",
 	"description": "This plugin provides the spine-unity runtime core.",
-	"version": "4.2.30",
+	"version": "4.2.31",
 	"unity": "2018.3",
 	"author": {
 		"name": "Esoteric Software",