There is a serious problem

I'm using Nokia 5.When I send a voice message, a silent 1 second voice message is sent. It's a software problem (the microphone works well in other apps).

I encountered this problem after the pie update. I've tried everything, deleted and reinstalled, cleared cache, restart phone, check permissions, but nothing works. Please try to fix this