Skip to content

Localization remap doesn't work for Ogg Vorbis sounds, when language is changed at run-time #42847

Open
@Vinsinho

Description

@Vinsinho

Godot version:
v3.2.3

OS/device including version:
Windows 10

Issue description:

  • When language is changed real-time, remapping the sounds doesn't work.
  • Same bug is when trying to play from AudioStream or AudioStream2D.
  • Works fine is specific language is selected as default (project settings->locale).
  • The problem occurs with .ogg files
  • System works when using .wav files.

Steps to reproduce:
Test 1:

  1. Open the test project.
  2. Open VOTEst.tscn
  3. Run the scene
  4. Placeholder voiceover will be looping (golden ball is in the game). Default language is english.
  5. Use keys 1-3 to dynamically change the locale (1 = french, 2 = deutch, 3 = english)
  6. As soon as language is changed, there will be a silence instead of voiceover in different language
  7. Notice that the golden letter switches correctly, meaning remap works fine for textures.

Test 2:

  1. Change the default language in Project setting/General/Locale to "de" or "fr"
  2. Run the scene
  3. Appropriate sounds are playing

Expected results :
Based on the locale, sounds should be remaped to appropriate ogg, even realtime

Minimal reproduction project:
TestVO.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions