Hey Albertos,
Yes, this has fixed the animation start when launching. Thanks!
On the other hand, the animation preview is still not working.
Where could it come from? Could you reproduce it on any machine? What does the error mean?
I’ve just trying with another browser: Firefox.
Same behaviour but a different error: Uncaught DOMException: Index or size is negative or greater than the allowed amount
with a warning before and after: WebGL warning: generateMipmap: Tex image TEXTURE_2D level 0 is incurring lazy initialization.
Thanks for checking. I’ve removed the texture from the material and I still get the error…
Maybe there is an issue with this specific model? I’ll try with another one. Is there a project I could use to check?
If this error occurs during the preview of the character placed in the scene, running the project in the browser results in the following bug and the project cannot be started.
viewport-error-console.js:159 TypeError: Cannot read properties of undefined (reading ‘length’)
at Skeleton.addTime (playcanvas-1.68.1.js:35178:35)
at Skeleton.set (playcanvas-1.68.1.js:35287:10)
at Skeleton.set (playcanvas-1.68.1.js:35272:22)
at AnimationComponent.play (playcanvas-1.68.1.js:42671:31)
at AnimationComponent.setModel (playcanvas-1.68.1.js:42700:11)
at ModelComponent.set (playcanvas-1.68.1.js:53950:55)
at ModelComponent._onModelAssetLoad (playcanvas-1.68.1.js:53804:15)
at ModelComponent._bindModelAsset (playcanvas-1.68.1.js:53785:10)
at ModelComponent.set (playcanvas-1.68.1.js:53908:13)
at ModelComponentSystem.initializeComponentData (playcanvas-1.68.1.js:54201:31)