Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2018.4.X, 2019.3.X, 2020.1.X
Votes
1
Found in
2019.1.0a13
2019.2.15f1
2020.1
Issue ID
1206210
Regression
Yes
Disabled VideoPlayer warning shows up when VideoClip field gets set to null in OnDestroy() method
How to reproduce:
1. Open the "1206210.zip" project and open the SampleScene Scene
2. Enter Play Mode
3. Exit Play Mode
4. Observe the Console window
Expected result: No warning shows up
Actual result: The warning "Cannot Play a disabled VideoPlayer" shows up after exiting Play Mode
Notes:
-The warning is caused by setting the VideoPlayer.Clip field to null in the OnDestroy() method In the CustomVideoPlayer Script
-The CustomVideoPlayer Script is attached to the Video Player GameObject prefab
Reproducible with: 2019.1.0a13, 2019.2.17f1, 2019.3.0f4, 2020.1.0a18
Not reproducible with: 2017.4.35f1, 2018.4.15f1, 2019.1.0a12
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
Resolution Note (fix version 2020.2):
fixed in: 2020.2.0a2
Resolution Note (fix version 2020.1):
fixed in: 2020.1.0b4.3439
Resolution Note (fix version 2019.3):
fixed in: 2019.3.9f1
Resolution Note (fix version 2018.4):
fixed in: 2018.4.21f1