Character hair mesh overlaps hat

Hello everyone! I’ve been working on my game with feature to change clothes on character, but encountered some very veird visual bugs and i don’t know, how to fix em all.

I have character and some clothes, attached to it with set master pose component. The problem is: some of the clothes can overlap others, but should be hidden or something like.

Just watch screenshot to see the problem.

Any suggestions?

Unfortunately I don’t think there an easy fix to this. Actually most of games will hide the hair when wearing a hat or a helmet or will use carefully designed haircut to reduce clipping scenarios or allowing part of hair being hidden. And/Or just exagerate hat volume to reduce the clipping…

You could also make the haircut modular and switch the haircut upon hat switching with one designed to better fit the hat