Playcanvas-spine plugin incompatible with latest Playcanvas runtime


#1

Heya,

I’m using playcanvas-spine plugin; it appears that this doesn’t work with playcanvas 1.10.7 (confirm working last in 1.10.6) - there’s no runtime error; the animation simply won’t play, as if it’s not getting updated.

Current solution: stick with playcanvas 1.10.6


#2

It’s something to do with this commit: https://github.com/playcanvas/engine/commit/d27a44b6d732c0f1bab94ef5126050db16a1d914

…which needs a corresponding tweak in playcanvas-spine runtime, I’d wager.


#3

Good catch on finding the change. Looks like an easy fix from changing one line?

You can most likely just make the change locally in the minified version as it’s a single line.


#4

Sweet - I’ll give that a shot when I’m back at work!

Thanks for your help :smile:


#5

I’ve tested this fix on an old Spine project and submitted a PR: https://github.com/playcanvas/playcanvas-spine/pull/10