Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.4f1
Issue ID
793216
Regression
No
Unity crashes in av_read_frame after regaining window focus when a Video is playing
How to reproduce:
1. Open attached project
2. Open scene Scenes/Game.unity
3. Play the scene
- Wait about 10 seconds after the scene is played (to allow the game to settle down)
4. While the Game window is in focus, switch to a different application
- Note that there is an error in the console:
NullReferenceException: Object reference not set to an instance of an object
at MediaPlayerCtrl.Call_UpdateVideoTexture () [0x003ae] in /Users/Rigel/Downloads/case_793216-zen.baccarat/Assets/EasyMovieTexture/Scripts/MediaPlayerCtrl.cs:2495
at MediaPlayerCtrl.Update () [0x00145] in /Users/Rigel/Downloads/case_793216-zen.baccarat/Assets/EasyMovieTexture/Scripts/MediaPlayerCtrl.cs:442
(Filename: Assets/EasyMovieTexture/Scripts/MediaPlayerCtrl.cs Line: 2495)
5. Switch back to Unity
- Unity crashes immediately and the Bug Reporter is launched
- Reproduced in Version 5.4.0b17 (d34aa569a642), Version 5.3.4p4 (43a3882ae25c)
- Blocked from testing 5.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
- Particle System Curve presets can't be scrolled and some of them can't be selected if window is too narrow to fit them all
Add comment