diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dcd9e616..ae5df394a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -421,6 +421,7 @@ - Made `SkeletonGraphic.unscaledTime` parameter protected, use the new property `UnscaledTime` instead. - `SkeletonGraphic` `OnRebuild` callback delegate is now issued after the skeleton has been initialized, before the `AnimationState` component is initialized. This makes behaviour consistent with `SkeletonAnimation` and `SkeletonMecanim` component behaviour. Use the new callback `OnAnimationRebuild` if you want to receive a callback after the `SkeletonGraphic` `AnimationState` has been initialized. + - Changed name of prefab skeleton meshes stored at prefabs from `Skeleton Prefab Mesh "name"` to `Skeleton Prefab Mesh [name]` to avoid issues with quotes in mesh asset names (see [this issue](https://github.com/EsotericSoftware/spine-runtimes/issues/2572)). Likely this change poses no problems at all, however if you are parsing the prefab's mesh name for whatever reason, be sure to adjust the pattern accordingly. - **Changes of default values** diff --git a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs index 3e1f3aab3..6f2f5020e 100644 --- a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs +++ b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs @@ -128,10 +128,10 @@ namespace Spine.Unity.Editor { Mesh mesh = meshFilter.sharedMesh; if (mesh == null) continue; - string meshName = string.Format("Skeleton Prefab Mesh \"{0}\"", renderer.name); + string meshName = string.Format("Skeleton Prefab Mesh [{0}]", renderer.name); if (nameUsageCount.ContainsKey(meshName)) { nameUsageCount[meshName]++; - meshName = string.Format("Skeleton Prefab Mesh \"{0} ({1})\"", renderer.name, nameUsageCount[meshName]); + meshName = string.Format("Skeleton Prefab Mesh [{0} ({1})]", renderer.name, nameUsageCount[meshName]); } else { nameUsageCount.Add(meshName, 0); } diff --git a/spine-unity/Assets/Spine/package.json b/spine-unity/Assets/Spine/package.json index 36b034007..a94a81c48 100644 --- a/spine-unity/Assets/Spine/package.json +++ b/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.75", + "version": "4.2.76", "unity": "2018.3", "author": { "name": "Esoteric Software",