A tool with a skinned mesh attached to the player makes the player invisible when unequipped

So basically, I made an object with skinned meshes and attached it to the R6 player rig with Motor6D.

Everything works fine, but there’s an issue when the tool gets unequipped. It makes the character invisible until the tool is re-equipped.

How to resolve this? Thanks!

This is similar to a bug:


However, we need to figure out what code you implemented.