Search Issue Tracker
Third Party Issue
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.