Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2018.2.14f1

Issue ID

1104510

Regression

No

Unity crashes on "-[AVFoundationMediaLoader GetNumAudioChannels:]" when entering Play Mode

Video

-

Repro steps:
1. Open QA attached project "repro_1104510"
2. Create an empty GameObject
3. Add a VideoPlayer Component to it
4. Attach the clip from the Project Window to it
5. Enter Play Mode

Actual: Editor crashes

Reproducible with: 2017.4.16f1, 2018.2.18f1, 2018.3.0b12, 2019.1.0a10

Fixed in: 2019.2.0a10
Backported to: 2019.1.0b10

  1. Resolution Note (fix version 2019.1):

    Only happens on OSX, with movies that have audio tracks using unsupported codecs such as AMR. The usual codec (AAC) works fine. Workaround is to re-encode audio to AAC. Crash happens only if the VideoPlayer UI is visible so hiding the VideoPlayer is another - although less interesting - workaround.

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.