Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.2.X

Votes

0

Found in

2017.4

2018.4

2019.3

2020.1

2020.2

2020.2.0a8

Issue ID

1240116

Regression

No

[osx]Editor crash on AURogerBeepFactory after a few seconds of playing video when Playback speed is bigger than 1

Video

-

1. Open attached Unity project
2. Load SampleScene scene
3. Select "2020-04-21 15-18-27" GameObject and make sure Playback Speed is bigger than 1.
4. Enter the play mode
-- observe crash in a few seconds

Reproduced with: 2020.2.0a8, 2020.1.0b6, 2019.3.11f1, 2018.4.22f1, 2017.4.40f1.

Note: If Editor doesn't crash, move Playback Speed slider.

Stacktrace:
Obtained 20 stack frames.
Thread 0x70000e5df000 may have been prematurely finalized
#0 0x0000012c12438c in AURogerBeepFactory
Thread 0x70000e5df000 may have been prematurely finalized
#1 0x0000012c1291b7 in AURogerBeepFactory
Thread 0x70000e5df000 may have been prematurely finalized
#2 0x0000012c0b5c23 in AUPeakLimiterFactory
Thread 0x70000e5df000 may have been prematurely finalized
#3 0x0000012c163e3f in SamplerFactory
Thread 0x70000e5df000 may have been prematurely finalized
#4 0x007fff30308b46 in XAudioUnit::Render(unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int, AudioBufferList*)
Thread 0x70000e5df000 may have been prematurely finalized
#5 0x007fff303094ca in MEMixerChannel::TimePitchDownstream(void*, unsigned int*, AudioTimeStamp const*, unsigned int, unsigned int, AudioBufferList*)

  1. Resolution Note (fix version 2021.1):

    Fixed in: 2021.2.0a1

    Apple's spectral audio resampling algorithm seems to have a race condition that causes it to crash when playing mp4 movie files that have audio/video packets tightly interleaved, such as files produced by OBS. Only keeping the high-quality resampling for speeds below 2x. Above 2x, we now revert to time-domain speed change, as is already done on iOS/tvOS.

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b5

  3. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.3f1

  4. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.18f1

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.