Search Issue Tracker

Third Party Issue

Unknown (hidden) 2020.3.X, 2021.3.X, 2022.2.X, 2023.1.X

Votes

24

Found in

2020.3.32f1

2021.3.6f1

2022.2.0b2

2023.1.0a4

Issue ID

UUM-9660

Regression

No

[macOS][M1] Audio crackling/popping during compilation in Editor

--

-

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

  1. Resolution Note:

    This is an issue with Apple hardware and macOS. CPU heavy tasks are interfering with computer's audio process. It occurs even with Apple software, such as Xcode.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.