Steps to reproduce:
- Create a new Unity project
- Make sure that:
- you have audio playing from a different source on the machine (YouTube, Spotify, etc.)
- you are using the internal MacBook speakers (not bluetooth speakers/headphones)
- Make a build (File/Build Settings/Build)
- Listen to the audio as the build is being compiled - notice the audio starts crackling/popping occasionally
Notes:
- I was only able to reproduce the issue on the first build. Doing subsequent builds with minimal changes where incremental build pipeline kicks in and does its magic prevents the issue from reproducing.
- This also reproduces with bluetooth speakers/headphones, but WAY less reliably (sometimes crackling doesn't happen, sometimes it's barely noticeable). Using MacBook internal speakers makes the reproduction consistent and easy to hear.
- Users report this also happening on various other Editor interactions: playing/stopping the game, recompiling any .cs scripts, opening projects - I haven't been able to reproduce these scenarios internally, but if building the project doesn't cause the crackling/popping to reproduce, you may want to try doing these other actions too.
Reproduced with: 2020.3.32f1, 2021.3.6f1, 2022.2.0b2, 2023.1.0a4