Linux Dedicated Server Error, Error SharedPointer.h (835)

Hi I’m using Voice Capture and it works on “Windows Dedicated Server” but it’s not working at “Linux Dedicated Server”.

At Log Linux it seems I have an error at

ACharacter::ACharacter()
[Runtime/Core/Public/Templates/SharedPointer.h::836]

and This is my cpp file

//for Voice
VoiceCapture = FVoiceModule::Get().CreateVoiceCapture();
	bool Success = VoiceCapture->Start();
	if (Success)
	{
		UE_LOG(LogTemp, Warning, TEXT("Voice capture started successfully"));
	}
	else
	{
		UE_LOG(LogTemp, Warning, TEXT("Voice capture not started successfully"));
	}

am I doing it wrong with the voice capture?if so can anyone tell me the proper way to do it?