You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
adding the compoent to canvas <custom-spine v-if="player?.emoji" :spineAsset="getEmojiAsset(player.emoji)" ></custom-spine>
But i am getting Spine error
pixi-spine.js?v=aff288ae:21985 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'substr')
at detectSpineVersion (pixi-spine.js?v=aff288ae:21985:24)
at Spine4.createSkeleton (pixi-spine.js?v=aff288ae:22097:17)
at new _SpineBase (pixi-spine.js?v=aff288ae:1184:10)
at new Spine4 (pixi-spine.js?v=aff288ae:22095:14)
at CustomSpine.ts:11:18
I solved the problem for my case. PIXI import was duplicated because of wrong vite.js config. So 'pixi-spine' injected it`s parsers in different PIXI instance.
I have removed resolve.alias['pixi-js'] entry from vite.json and problem has gone.
I have created a custom component for Spine
Initializing a component
Registering the component
adding the compoent to canvas
<custom-spine v-if="player?.emoji" :spineAsset="getEmojiAsset(player.emoji)" ></custom-spine>
But i am getting Spine error
my version
Could you please guide me through this issue
Attached is the Skeleton file (.json)
spine_selfEmoji-s1e0.json
The text was updated successfully, but these errors were encountered: