playcanvas / playcanvas/engine

Audio assets don't load on Firefox 91+ on MacOS

Open
#3,699 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: assets area: audio
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

Thread: https://forum.playcanvas.com/t/bug-audio-assets-preloading-with-firefox-91-on-macos/22837/4

There seems to be an issue with the preloading of audio assets (mp3 and wav) when using Firefox 91 and up on MacOS (tried on several recent MacOS versions)

Issue can be reproduced by launching the “advance loading screen” demo on said target platform :
https://launch.playcanvas.com/497474?debug=true 2
https://developer.playcanvas.com/en/tutorials/advance-loading-screen/ 3

The loader gets stuck at 50%, there are 2 assets in this sample project including one audio.

Issue does not occur with Firefox 90 or any other browsers on MacOS.

I can't repro locally with Mac OSX 11.6 (20G165) and Firefox 94.0.1 (64-bit) but can see it happening on Browserstack

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the advanced loading screen demo on macOS with Firefox 91 or newer, then compare it with Firefox 90 and other browsers. Investigate the audio asset preloading path based on the demo's two assets; done means the audio asset loads and the loader progresses beyond 50%.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.