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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment