Spine slots working fine in web game but not proper in android

I am facing an issue in which my spine file is working fine(hiding unnecessary slots) in the web game/preview but when I build for Android it is not hiding slots and showing all slots of the spine.

Can you tell me what version of editor you are using?

cocos creator v3.4

The current API of spine runtime is slightly different between the web and the native platforms, you might want to use functional APIs on native. You can try to search APIs here