Description

The voice engine starts before it is ready. FOnlineVoiceImpl::StartNetworkedVoice is called prior to VoiceEngine->RegisterLocalTalker() in FOnlineVoiceImpl::RegisterLocalTalker(). This leads to the test for IsOwningUser(LocalUserEnum) in FVoiceEngineImpl to fail.

Regression?: No
This occurred in 4.18

Steps to Reproduce
  1. Create a new project
  2. Add the following to the DefaultEngine.ini
     [OnlineSubsystem]
    DefaultPlatformService=Null
    bHasVoiceEnabled=true
    
    [Voice]
    bEnabled=true 
  3. Add the following to DefaultGame.ini
     [/Script/Engine.GameSession]
    bRequiresPushToTalk=false 
  4. Open the project
  5. Press Play
  6. Check the output log
    Result: LogVoiceEngine: Error: StartLocalVoiceProcessing(): Device is currently owned by another user
    Expected: No errors related to Voice

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-59508 in the post.

27
Login to Vote

Backlogged
ComponentNetworking
Affects Versions4.184.194.20
CreatedMay 23, 2018
UpdatedNov 27, 2019