Search Issue Tracker

By Design

Votes

0

Found in

2017.4.0f1

2018.4

2019.2

2019.3

2020.1

2020.1.0a9

Issue ID

1191628

Regression

No

[Android][VideoPlayer] Video is not launched when VideoPlayer Source is set to URL

Mobile

-

How to reproduce:
1. Create a new project
2. Add 3D Object to the scene
3. Add ‘VideoPlayer’ component to the object
4. Set "Source" to URL and assign http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4 link
5. Enter Play Mode (check if it works properly)
6. Build and run the scene on Android device

Expected result: Video is played
Actual result: Video is not launching

Reproducible: 2017.4.0f1, 2017.4.33f1, 2019.2.10f1, 2019.3.0b7, 2020.1.0a9
VLNQA00202, Samsung Galaxy Note9 (SM-N9600), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00100, Google Pixel 2 (Pixel 2), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00125, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00170, Google Pixel 2 (Pixel 2), Android 10, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00165, Samsung Galaxy S7 (SM-G930F), Android 7.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00119, Xiaomi Mi 5 (MI 5), Android 8.0.0, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530

Reproducible: 2018.4.11f1 (only on 9 and 10 OS Android devices):
VLNQA00202, Samsung Galaxy Note9 (SM-N9600), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00100, Google Pixel 2 (Pixel 2), Android 9, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00170, Google Pixel 2 (Pixel 2), Android 10, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540

Not reproducible:
VLNQA00232, iPhone 8 Plus, A11, 12.2 OS

  1. Resolution Note (2020.1.X):

    When targeting Android API Level 28 or higher, you have to start adding an application attribute to Android to be able to use HTTP. If you add this line to your Android manifest, then HTTP will work:
    <application android:usesCleartextTraffic="true">

    Instructions for manually adding things to your Android manifest in your Unity project can be found here:
    https://docs.unity3d.com/Manual/android-manifest.html

    Alternatively, if you don't want to enable all HTTP traffic, you can enable HTTP to certain domains. This can be done via the Android security config file.

    In Unity 2020.1, we will start outputting an error message to make it easier to figure out what's going wrong. We are also updating the video player documentation to include this new Android requirement.

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.