It appears that there is a known issue with the draw order when importing new skeletons into an existing skeleton in versions 4.2 and above. This issue has been reported and documented in the following GitHub issue: https://github.com/EsotericSoftware/spine-editor/issues/806. The development team is aware of the problem and is working on a fix.
In the meantime, you can try the following workaround:
- Ensure that the draw order is correctly set in the Spine Editor before exporting.
- After importing the skeleton, manually adjust the draw order in the runtime if necessary.
For more information on how to set the draw order in the Spine Editor, you can refer to the documentation here: Slots - Spine User Guide: Draw order.
We apologize for the inconvenience and appreciate your patience while the issue is being resolved.