Unity sprite skin or bones act weird when setactive(false)

I am using sprite skin with bone influence and animator to animate my sprite
When I want to deactivate the sprite using setActive(false), the sprite became like the picture below for a few second, before it disappeared completely.

it looks normal in unity editor, but when I build the project on android the sprite became like the first image when using setActive(false).

here’s the original image

May not be an solution but instead of disabling the sprite object, try disabling the Canvas it’s in. Give it a seperate canvas and just set Canvas.enabled = false;

I have this bug too. Same as yours. Fine in editor, only reproduced on android devices.