gritsenko / c3_spine_plugin

Spine plugin for construct 3
MIT License
24 stars 8 forks source link

can not load animation #58

Closed doroodyan closed 2 years ago

doroodyan commented 2 years ago

hi all I have animation file which plays correctly in web player or spine software, but when I add it to construct 3 project, it is empty. is there any log or report to check the error? how I can fix the problem animation file is attached cat.zip

MikalDev commented 2 years ago

Check the C3 developer console. See if there are any errors there.

2dchaos commented 2 years ago

I'm having the same problem when I export from Spine Pro 3.8.75, the error I get is:

Uncaught (in promise) Error: Unsupported skeleton data, please export with a newer version of Spine. at SkeletonJson.readSkeletonData (f9e800d9-d32d-429e-8579-11704a146a38:5555) at SpineInstance.loadSkeletonData (b4fdfa1e-4164-461f-87cd-77ebdd49fad0:271) at SpineInstance.IsSpineReady (b4fdfa1e-4164-461f-87cd-77ebdd49fad0:604) at SpineInstance.Tick (b4fdfa1e-4164-461f-87cd-77ebdd49fad0:689) at Array._tickFunc (sdkInstanceBase.js:6) at EventHandler._FireNonCancellable (handler.js:7) at EventDispatcher.dispatchEvent (dispatcher.js:4) at C3Runtime.Step_AfterPreTick (runtime.js:74) at C3Runtime.Tick (runtime.js:71) at normal (runtime.js:7)

Changing the version to 3.8.59 manually in the .json file solves the problem.
MikalDev commented 2 years ago

Apparently, there is an issue with certain features with the spine-ts runtime with this particular version of Spine. The recommendation is to upgrade to a later 3.8.x version of Spine (e.g. 3.8.76+)