Uncaught DOMException: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state.
at jQuery.fn.init.onDraw (webpack:///./node_modules/spritespin/release/src/plugins/render-360.js?:29:26)
at HTMLDivElement.eval (webpack:///./node_modules/spritespin/release/src/utils/utils.js?:66:18)
at HTMLDivElement.dispatch (webpack:///./node_modules/jquery/dist/jquery.js?:5233:27)
at HTMLDivElement.elemData.handle (webpack:///./node_modules/jquery/dist/jquery.js?:5040:28)
at Object.trigger (webpack:///./node_modules/jquery/dist/jquery.js?:8461:12)
at HTMLDivElement.eval (webpack:///./node_modules/jquery/dist/jquery.js?:8539:17)
at Function.each (webpack:///./node_modules/jquery/dist/jquery.js?:367:19)
at jQuery.fn.init.each (webpack:///./node_modules/jquery/dist/jquery.js?:202:17)
at jQuery.fn.init.trigger (webpack:///./node_modules/jquery/dist/jquery.js?:8538:15)
at updateAfter (webpack:///./node_modules/spritespin/release/src/core/playback.js?:61:17)
Edit
I forgot to mention that i am using the latest version 4.0.6
and jquery version 3.4.0
Okay... I found out that the problem was in the html... i had an icon there in the same div and i guess it was reading it and it was messing up everything....
All the other frames work exept last frame Here is my config
the frames are 31 the spritespin data i get for the images is this
I was getting this error on Firefox
And this on chrome
Edit I forgot to mention that i am using the latest version 4.0.6 and jquery version 3.4.0