Search Issue Tracker

Fixed in 2018.4.X

Fixed in 2019.2.X, 2019.3.X

Votes

0

Found in

2018.4

2018.4.2f1

2020.1

Issue ID

1190915

Regression

No

[Windows 7] VideoPlayer.Prepare causes a stack overflow crash if Video is loaded from asset bundle

Video

-

How to reproduce:
1. Open the attached project
2. Assets > Build AssetBundles
3. Build the project
4. Copy the Assets/AssetBundles folder to build_data
5. Run the build
6. Press "Load Bundle"
7. After bundle is loaded, press "Prepare"

Actual result: Unity crashes.

Reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.2.10f1, 2019.3.0b7, 2020.1.0a9.

Notes:
- Unity doesn't catch any stacktrace.
- Reproducible only with Windows 7.

-----------------------
Fixed in 2020.1.0a15, 2019.3.0f3, 2019.2.18f1, 2018.4.16f1.

  1. Resolution Note (fix version 2018.4):

    Async media file read on Win7 Media Foundation has different behaviour than in >=Win8, leading to reads all happening in one chain of calls. Works for smaller files but not for large files. Reworked to make the logic compatible with all versions of Media Foundation.

Add comment

Log in to post comment