ご対応ありがとうございます。
私はSpineを4.026に更新してエクスポートのテストを行いました
残念ながら、4.0と3.8の2つのテスト環境では不具合が解決しませんでした。
Thank you for your support.
I updated Spine to 4.026 and tested the export
Unfortunately, the two test environments, 4.0 and 3.8, did not resolve the issue.
■4.0ランタイム
Atk3aがエクスポートされたファイルは下記の3つのエラーを表示し、必要なマテリアルが生成されませんでした
The file from which Atk3a was exported displayed the following three errors and the required material was not generated.
Error reading skeleton JSON file for SkeletonData asset: Esther_SkeletonData
Error reading animation: Atk3a
Index was outside the bounds of the array.
at Spine.SkeletonJson.ReadSkeletonData (System.IO.TextReader reader) [0x01390] in C:\Users\kou-mobilestudio\Desktop\Test 4.0 Spine_Unity\Test 4.0 Spine_Unity\Assets\Spine\Runtime\spine-csharp\SkeletonJson.cs:368
at Spine.Unity.SkeletonDataAsset.ReadSkeletonData (System.String text, Spine.AttachmentLoader attachmentLoader, System.Single scale) [0x00017] in C:\Users\kou-mobilestudio\Desktop\Test 4.0 Spine_Unity\Test 4.0 Spine_Unity\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs:258
at Spine.Unity.SkeletonDataAsset.GetSkeletonData (System.Boolean quiet) [0x000c4] in C:\Users\kou-mobilestudio\Desktop\Test 4.0 Spine_Unity\Test 4.0 Spine_Unity\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs:173
UnityEngine.Debug:LogError(Object, Object)
Spine.Unity.SkeletonDataAsset:GetSkeletonData(Boolean) (at Assets/Spine/Runtime/spine-unity/Asset Types/SkeletonDataAsset.cs:176)
Spine.Unity.Editor.SkeletonDataAssetInspector:InitializeEditor() (at Assets/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:146)
Spine.Unity.Editor.SkeletonDataAssetInspector:OnEnable() (at Assets/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:83)
UnityEditor.AssetDatabase:CreateAsset(Object, String)
Spine.Unity.Editor.AssetUtility:IngestSpineProject(TextAsset, AtlasAssetBase[]) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:921)
Spine.Unity.Editor.AssetUtility:ImportSpineContent(String[], List`1, Boolean) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:363)
Spine.Unity.Editor.AssetUtility:HandleOnPostprocessAllAssets(String[], List`1) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:113)
Spine.Unity.Editor.SpineEditorUtilities:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs:98)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
ArgumentNullException: Value cannot be null.
Parameter name: skeletonData
Spine.Unity.BlendModeMaterials.UpdateBlendmodeMaterialsRequiredState (Spine.SkeletonData skeletonData) (at Assets/Spine/Runtime/spine-unity/Asset Types/BlendModeMaterials.cs:73)
Spine.Unity.Editor.BlendModeMaterialsUtility.UpdateBlendmodeMaterialsRequiredState (Spine.Unity.SkeletonDataAsset skeletonDataAsset, Spine.SkeletonData skeletonData) (at Assets/Spine/Editor/spine-unity/Editor/Utility/BlendModeMaterialsUtility.cs:129)
Spine.Unity.Editor.BlendModeMaterialsUtility.UpdateBlendModeMaterials (Spine.Unity.SkeletonDataAsset skeletonDataAsset, Spine.SkeletonData& skeletonData, System.Boolean upgradeFromModifierAssets) (at Assets/Spine/Editor/spine-unity/Editor/Utility/BlendModeMaterialsUtility.cs:88)
Spine.Unity.Editor.AssetUtility.IngestSpineProject (UnityEngine.TextAsset spineJson, Spine.Unity.AtlasAssetBase[] atlasAssets) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:927)
Spine.Unity.Editor.AssetUtility.ImportSpineContent (System.String[] imported, System.Collections.Generic.List`1[T] texturesWithoutMetaFile, System.Boolean reimport) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:363)
Spine.Unity.Editor.AssetUtility.HandleOnPostprocessAllAssets (System.String[] imported, System.Collections.Generic.List`1[T] texturesWithoutMetaFile) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:113)
Spine.Unity.Editor.SpineEditorUtilities.OnPostprocessAllAssets (System.String[] imported, System.String[] deleted, System.String[] moved, System.String[] movedFromAssetPaths) (at Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs:98)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7d97106330684add86d080ecf65bfe69>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7d97106330684add86d080ecf65bfe69>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <7d97106330684add86d080ecf65bfe69>:0)
UnityEditor.AssetPostprocessingInternal.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:652)
UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:144)
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Error reading skeleton JSON file for SkeletonData asset: Esther_SkeletonData
Error reading animation: Atk3a
Index was outside the bounds of the array.
at Spine.SkeletonJson.ReadSkeletonData (System.IO.TextReader reader) [0x01390] in C:\Users\kou-mobilestudio\Desktop\Test 4.0 Spine_Unity\Test 4.0 Spine_Unity\Assets\Spine\Runtime\spine-csharp\SkeletonJson.cs:368
at Spine.Unity.SkeletonDataAsset.ReadSkeletonData (System.String text, Spine.AttachmentLoader attachmentLoader, System.Single scale) [0x00017] in C:\Users\kou-mobilestudio\Desktop\Test 4.0 Spine_Unity\Test 4.0 Spine_Unity\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs:258
at Spine.Unity.SkeletonDataAsset.GetSkeletonData (System.Boolean quiet) [0x000c4] in C:\Users\kou-mobilestudio\Desktop\Test 4.0 Spine_Unity\Test 4.0 Spine_Unity\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataAsset.cs:173
UnityEngine.Debug:LogError(Object, Object)
Spine.Unity.SkeletonDataAsset:GetSkeletonData(Boolean) (at Assets/Spine/Runtime/spine-unity/Asset Types/SkeletonDataAsset.cs:176)
Spine.Unity.Editor.SkeletonDataAssetInspector:InitializeEditor() (at Assets/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:146)
Spine.Unity.Editor.SkeletonDataAssetInspector:OnEnable() (at Assets/Spine/Editor/spine-unity/Editor/Asset Types/SkeletonDataAssetInspector.cs:83)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
■3.8ランタイム
下記の1つのエラー文が表示され、SkeletondataAssetが生成されませんでした。これはAtk3aがエクスポートされていなくても同様でした
The following one error statement was displayed and the Skeleton data Asset was not generated. This was true even if Atk3a was not exported
Failed to read version info at skeleton 'Esther'. It is likely not a valid Spine SkeletonData file.
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <7d97106330684add86d080ecf65bfe69>:0
at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in <7d97106330684add86d080ecf65bfe69>:0
at System.Int32.Parse (System.String s, System.IFormatProvider provider) [0x00008] in <7d97106330684add86d080ecf65bfe69>:0
at Spine.Unity.SkeletonDataCompatibility.GetVersionInfo (UnityEngine.TextAsset asset, System.Boolean& isSpineSkeletonData, System.String& problemDescription) [0x00214] in C:\Users\kou-mobilestudio\Desktop\Test 3.8 Spine_Unity\Test 3.8 Spine_Unity\Assets\Spine\Runtime\spine-unity\Asset Types\SkeletonDataCompatibility.cs:157
UnityEngine.Debug:LogError(Object, Object)
Spine.Unity.Editor.AssetUtility:ImportSpineContent(String[], List`1, Boolean) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:296)
Spine.Unity.Editor.AssetUtility:HandleOnPostprocessAllAssets(String[], List`1) (at Assets/Spine/Editor/spine-unity/Editor/Utility/AssetUtility.cs:110)
Spine.Unity.Editor.SpineEditorUtilities:OnPostprocessAllAssets(String[], String[], String[], String[]) (at Assets/Spine/Editor/spine-unity/Editor/Utility/SpineEditorUtilities.cs:94)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets(String[], String[], String[], String[], String[])
UnityEditorInternal.InternalEditorUtility:ProjectWindowDrag(HierarchyProperty, Boolean)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Google Driveにアップロードしたこれら2つのテスト環境を再アップロードしました。
何卒よろしくお願い致します
I re-uploaded these two test environments that I uploaded to Google Drive.
Thank you for your cooperation.