It sounds like you are experiencing an issue with the visibility and rendering order of your Spine assets in your game. This could be related to how the assets are being loaded and managed in your game engine. One possibility is that the Spine asset is not being properly hidden or its visibility state is not being correctly initialized, which causes it to flash or appear unexpectedly. Additionally, the issue with the game background might be related to how the rendering order or layers are set up, causing the Spine asset to appear on top of the background when it shouldn't.
To troubleshoot this, you can try the following steps:
- Ensure that the Spine asset's visibility is explicitly set to invisible at the start of the game or when it should not be visible.
- Check the rendering order or layer settings to ensure that the Spine asset is not being rendered on top of the background when it shouldn't be.
- Verify that the assets are being loaded and initialized correctly, and that there are no conflicts or overwrites happening with the keys used for loading.
- Consider adding debug logs or breakpoints to track the visibility state and rendering order of the Spine asset throughout the game's lifecycle.
If these steps do not resolve the issue, it might be helpful to provide more specific details about the game engine you are using and how the assets are being managed.