Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2018.4.X, 2019.4.X, 2020.1.X

Votes

0

Found in

2019.3.2f1

2019.4

2020.2

2021.1

Issue ID

1241848

Regression

No

Crash when calling PausePlayback after VideoPlayer has been destroyed

Video

-

Reproduction steps:
1. Open LINKED_PROJECT Project
2. Open "Assets/Scenes_1/HomeScreen 72_ppi" Scene
3. Press Play
4. Select Level 1

Expected result: Level 1 is loaded
Actual result: The Editor crashes

Reproducible with: 2019.4.14f1, 2020.2.0b10, 2021.1.0a4
Could not test with: 2018.4 (Compiler errors)

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Destroying the VideoPlayer immediately after starting playback was causing a race condition that ended up using deleted objects. Improvements in VideoPlayer tear-down logic have eliminated this. A temporary workaround is to make sure that scheduled playback preparation has completed before destroying/disabling VideoPlayers.

    Improvements landed in 2021.1.0a5

  2. Response avatar

    Resolution Note (fix version 2018.4):

    Fixed in 2018.4.35f1

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.