Sprites disappearing after painting bone weights

Godot Version

godot 4.2

Question

i was making a 2d animation with the skeleton feature. It functioned well until i got to the point where you paint bone weights onto the textures. upon painting bone weights, the texture starts to glitch out until it is rendered fully invisible, and only re appears after undoing the skeleton assignment.
How do I fix this?