Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X



Found in






Issue ID




[iOS 14] VideoPlayer crashes on EXC_BAD_ACCESS or signal SIGABRT when audioOutputMode is set to APIOnly or Audio Source



[iOS 14] VideoPlayer crashes on EXC_BAD_ACCESS or signal SIGABRT when audioOutputMode is set to APIOnly/Audio Source or Render Mode is set to Render Texture/Material Override

How to reproduce:
1. Open the attached '' project
2. Build for iOS and open the Xcode project
3. Deploy Xcode project to an iOS device
4. Click on the 'Click meee!' button
5. Wait until the end of the video
6. Replay the video until the VideoPlayer crashes

Reproducible with: 2019.2.0a7, 2019.4.10f1, 2020.1.6f1, 2020.2.0b3
Not reproducible: 2018.4.27f1, 2019.2.0a6

Reproducible with:
iPad 9.7" 6th gen (iOS 14.0b7)

Not reproducible with:
iPhone 8+ (iOS 12.0)
iPhone XR (iOS 13.4.1)
iPhone 11 (iOS 13.5)
VLNQA00013, Samsung Galaxy S6 edge+ (SM-G928F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00078, Motorola Nexus 6 (Nexus 6), Android 7.1.1, CPU: Snapdragon 805 APQ8084AB, GPU: Adreno (TM) 420
----------, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00317, Vivo V1924A (V1924A), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00294, Oppo Reno Z 中国版 (PCDM10), Android 9, CPU: Mediatek MT6779 Helio P90, GPU: PowerVR Rogue GM9446
Mac Standalone

1. Crash logs are attached in Edit
2. Reproduction is not consistent, in order to reproduce the issue replay the video until crash occurs
3. Errors when Video Player crashes: Thread 42: signal SIGABRT or Thread 4: EXC_BAD_ACCESS
4. From 2020.2.0a14 to 2020.2.0b3 video is invisible, audio is on
5. When crashes on 'Thread 42: signal SIGABRT' error is thrown '*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[OS_xpc_string UpdateQueueAdd:]: unrecognized selector sent to instance 0x282842340'
*** First throw call stack:
(0x1b33b2114 0x1c6b68cb4 0x1b32c29b8 0x1b33b4758 0x1b33b66cc 0x105e40288 0x1bb65ba44 0x1bb65b82c 0x1bbb095f0 0x1b2fea298 0x1b2feb280 0x1b2f93fa8 0x1b2f94a84 0x1b2f9e518 0x1f7d8c5a4 0x1f7d8f874)
libc++abi.dylib: terminating with uncaught exception of type NSException'
6. Not reproducible when Render Mode is set to Camera Far Plane, Camera Near Plane (With Audio Output Mode: Direct); Reproducible when Render Mode is set to Render Texture, Material Override (With Audio Output Mode: Direct)
7. Not reproducible when Audio Output Mode is set to Direct(with Render Mode: RT); Reproducible when Audio Output Mode is set to API Only, AudioSource (with Render Mode: RT)
8. A possibly related problem is that even when APIOnly is used for audio output, the buffer size in iOS audio session is reset to 1024

  1. Resolution Note (fix version 2020.2):

    Fixed situations where audio from a movie file being cleaned up without having started to play.

Comments (11)

  1. harshit008bhatt

    May 25, 2021 07:23

    still Unity has this issue with 2019.4.3f1. Can anyone help me with this?

  2. doubletapsoft

    Nov 05, 2020 14:43

    How do you set the audio mode to Direct?

  3. ualogic

    Nov 02, 2020 13:49

    For anybody stumbling upon this thread, By the description I had exactly this issue and it was fixed in 2019.4.12 even though it is still in the "known issues" on the release notes. If anybody with 2019.4.12 and up still having it, do flag this messy bug tracking issue up on forums, or somebody from Unity.

  4. tomthecarrot

    Oct 19, 2020 23:15

    Same here -- would like to vote on this issue. It is still occurring in our app.

  5. YD_JMysior

    Oct 18, 2020 10:52

    +1. This is a big issue and the seemingly duplicate issue #1254242 does not exist in the issue tracker.
    My game shows a splash logo using the VideoPlayer component and the majority of my users we unable to launch the game at all after upgrading to iOS 14.
    Please remove the duplicate mark so we can at least vote on this issue. It's a nightmare :)

  6. ualogic

    Oct 16, 2020 15:17

    Issue #1254242 does not seem to exist. Known issues in the release notes sends here. Can the status of this issue be changed?

  7. NullVarGames

    Oct 08, 2020 16:35

    This error seems to happen when running a Mac build on macOS 10.16 too.

  8. monda

    Oct 07, 2020 13:30

    I have the same problem, the official release of my client's app is now on hold because every single feature depends on VideoPlayer and AudioSources (Particles are guided by Audiosources).

    I can see that has been solved in a duplicate issue but WHERE IS THE LINK?

    I'm really struggling with this situation.

  9. chrbac

    Oct 02, 2020 11:07

    Experienced the same video issue in Unity 2020.1.3 with iOS 14, and switching the audio mode to Direct fixed the issue (outputting video to render texture).

    Tried to find the supposed duplicate, but sorting all issues by date and trying to find #1254242 did not work. There are no issues between 1254216 and 1254250 in the issue tracker with all filters off.

  10. jaimebencia

    Sep 24, 2020 20:47

    The duplicate issue link looks invalid. If this particular issue is the duplicate, can anyone point me to the original? Would be much appreciated.

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.