diff --git a/spine-csharp/src/SkeletonBinary.cs b/spine-csharp/src/SkeletonBinary.cs index 12e19bd48..e88033f23 100644 --- a/spine-csharp/src/SkeletonBinary.cs +++ b/spine-csharp/src/SkeletonBinary.cs @@ -872,7 +872,7 @@ namespace Spine { float time = input.ReadFloat(), mix = input.ReadFloat(), softness = input.ReadFloat() * scale; for (int frame = 0, bezier = 0; ; frame++) { int flags = input.Read(); - timeline.SetFrame(frame, time, mix, softness, input.ReadByte(), (flags & 1) != 0, (flags & 2) != 0); + timeline.SetFrame(frame, time, mix, softness, input.ReadSByte(), (flags & 1) != 0, (flags & 2) != 0); if (frame == frameLast) break; float time2 = input.ReadFloat(), mix2 = input.ReadFloat(), softness2 = input.ReadFloat() * scale; switch (input.ReadByte()) { diff --git a/spine-csharp/src/package.json b/spine-csharp/src/package.json index b50f57a99..ba14a3608 100644 --- a/spine-csharp/src/package.json +++ b/spine-csharp/src/package.json @@ -2,7 +2,7 @@ "name": "com.esotericsoftware.spine.spine-csharp", "displayName": "spine-csharp Runtime", "description": "This plugin provides the spine-csharp core runtime.", - "version": "4.2.7", + "version": "4.2.8", "unity": "2018.3", "author": { "name": "Esoteric Software",