playcanvas / playcanvas-spine

Plugin component for PlayCanvas which enables support for Spine animations.
MIT License
48 stars 18 forks source link

TypeError: Cannot set property state of # which has only a getter #55

Closed tch0m closed 2 years ago

tch0m commented 2 years ago

I'm having a problem using the 3.6 library which appears to be trying to set this.state = null in Spine.destroy(), even though Spine.state is just a getter. Should this line be removed?

yaustar commented 2 years ago

Yes, it looks this line should be removed