Voice-of-Shadow I removed the Spinebot's response because it contained incorrect information.
The HTML export feature added in Spine 4.3 creates a standalone HTML file that can be opened directly in a web browser to preview the animation. The skeleton data, texture atlas, texture images, and the required Spine Web Player or Spine Web Components code are embedded in the exported HTML file.
For example, when exporting the chibi-stickers using the Spine Web Components option, the embedded skeleton data is included directly in the HTML in a form similar to this:
<script>
var skeletonData = '/8E0aSLRoQQHNC4zLjIzwzP//sIWAABDs///RCqf9kLIAAAAjAYEYXJtBGFybQ9hcm0tZGVjb3JhdGlvbg9hcm0tZGVjb3JhdGlvbhhhcm0tc2hvdWxkZXItZGVjb3JhdGlvbhhhcm0tc2hvdW...';
</script>
The atlas and texture data are also embedded in the HTML in a similar way. Therefore, the HTML does not normally need to load the separately exported JSON, SKEL, ATLAS, or texture files from the same folder.
The error:
Error: Could not load skeleton data.
means that the skeleton data embedded in the HTML file could not be loaded or parsed.
To investigate the cause, please provide the following information:
- The browser and browser version you used to open it.
- The complete error message shown in the browser developer console.
- Whether the same problem occurs when exporting a simple newly created Spine project.
You mentioned that the problem occurs with both the Spine Player and Spine Web Components export options. Please also confirm whether both exported HTML files show exactly the same error.