Creen recording is properly work but issue is sounds .
Sounds not recorded properly in game voice on in pubg and bug tha the sound please fixed this issue
I think you should try going to screen recording settings and change the audio settings, from notification tab just long press on screen recorder icon and you ll enter the settings, and check the 5th option which is for audio
Hope that slove your issue
This is known limitation with screen recorders in general when activating the mic in PUBG/COD.