Description:
We are encountering an intermittent but persistent audio issue on a Nintendo Switch build created with Unreal Engine 5.4.3. Occasionally, the audio playback drops in sample rate, resulting in a pitch shift and slowed/stretch playback. While the issue cannot be systematically reproduced, once it occurs, it persists until the game is either restarted or the player exits to the Nintendo Switch main menu and reopens the game. This temporary fix is the only known way to resolve the issue.
Reproduction Steps (Intermittent):
- Build the game using the default platform-specific settings for Nintendo Switch.
- Launch the game on a Nintendo Switch device.
- Play the game and observe audio playback. The issue occurs intermittently and inconsistently, but once it manifests, it persists until the game is restarted or reopened via the Switch main menu.
Details:
- Audio Format: All audio files are WAV PCM 48kHz 24-bit.
- Compression: Bink audio compression with default parameters.
- Attempted Fixes:
- Clamping the resampling rate to 48kHz in platform-specific settings: No improvement.
- Increasing chunk size and memory allocations: No improvement.
- Debugging CPU performance: No issues found.
- File Specs: Audio files are a maximum of 3 minutes in length and 70MB in size. No channel or memory limits were exceeded.
- Temporary Fix: The only way to momentarily resolve the issue is to exit to the Nintendo Switch main menu and reopen the game, or restart the game entirely.
Observations:
- Inconsistent Onset: The issue does not always occur and cannot be systematically reproduced. However, it happens frequently enough to disrupt gameplay.
- Persistent Behavior: Once the issue begins during a session, it remains active until the game is restarted or reopened via the Switch main menu.
- Similar Issue Reference: The problem resembles one reported on the forums here: Critical: Audio Sounds Choppy on Switch. However, our symptoms specifically involve sample rate and playback speed issues rather than choppiness.
- Platform-Specific Settings: We used the default platform-specific settings for Switch, with no success in identifying a root cause through configuration changes or debugging.
Request:
We are requesting assistance to identify and resolve the root cause of this issue. Given its critical nature and the lack of a systematic workaround, we urgently need guidance on potential fixes or debugging steps to mitigate this problem.
Thank you for your support.