diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6fe1447..e2c050c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG
+## v0.16.24
+
+- 修复序列帧导出报错
+
## v0.16.23
- 增加 json 文件后缀关联
diff --git a/Spine/Exporters/FrameSequenceExporter.cs b/Spine/Exporters/FrameSequenceExporter.cs
index f512bc6..e6dcbda 100644
--- a/Spine/Exporters/FrameSequenceExporter.cs
+++ b/Spine/Exporters/FrameSequenceExporter.cs
@@ -19,6 +19,8 @@ public FrameSequenceExporter(Vector2u resolution) : base(resolution) { }
public override void Export(string output, CancellationToken ct, params SpineObject[] spines)
{
+ _renderTexture = GetRenderTexture();
+
Directory.CreateDirectory(output);
int frameCount = GetFrameCount();
@@ -56,6 +58,9 @@ public override void Export(string output, CancellationToken ct, params SpineObj
}
frameIdx++;
}
+
+ _renderTexture.Dispose();
+ _renderTexture = null;
}
}
}
diff --git a/Spine/Spine.csproj b/Spine/Spine.csproj
index 17ac395..1d2d313 100644
--- a/Spine/Spine.csproj
+++ b/Spine/Spine.csproj
@@ -11,7 +11,7 @@
$(SolutionDir)out
$(BaseOutputPath)\$(Configuration)\$(PlatformTarget)
false
- 0.16.22
+ 0.16.24
diff --git a/SpineViewer/SpineViewer.csproj b/SpineViewer/SpineViewer.csproj
index c171d2b..78787d1 100644
--- a/SpineViewer/SpineViewer.csproj
+++ b/SpineViewer/SpineViewer.csproj
@@ -11,7 +11,7 @@
$(SolutionDir)out
$(BaseOutputPath)\$(Configuration)\$(PlatformTarget)
false
- 0.16.23
+ 0.16.24
WinExe
true
diff --git a/SpineViewerCLI/SpineViewerCLI.csproj b/SpineViewerCLI/SpineViewerCLI.csproj
index 3d14d4b..295bb90 100644
--- a/SpineViewerCLI/SpineViewerCLI.csproj
+++ b/SpineViewerCLI/SpineViewerCLI.csproj
@@ -11,7 +11,7 @@
$(SolutionDir)out
$(BaseOutputPath)\$(Configuration)\$(PlatformTarget)
false
- 0.16.23
+ 0.16.24
Exe