I have a project (using WinRT video API) and am finding a difference in behavior between in editor and on a HoloLens in a UWP app package. We have a MediaPlayer gameobject that is intended to handle whichever video a user selects. However, I am finding that (unlike in editor, which works as expected) only the first video plays properly. If I select another video, which calls OpenMedia with a different URL, the media player is stuck on the frame last drawn from the previous video. I see in the MediaPlayer code, that OpenMedia internally calls CloseMedia first, so it appears I'm not missing a cleanup call from what I can tell.
Any tips on addressing/debugging this issue? Unfortunately, it's quite difficult to get live debugging in a UWP package. I am using ApplyToMesh to render the video, so perhaps the issue is somewhere there.
I have a project (using WinRT video API) and am finding a difference in behavior between in editor and on a HoloLens in a UWP app package. We have a MediaPlayer gameobject that is intended to handle whichever video a user selects. However, I am finding that (unlike in editor, which works as expected) only the first video plays properly. If I select another video, which calls OpenMedia with a different URL, the media player is stuck on the frame last drawn from the previous video. I see in the MediaPlayer code, that OpenMedia internally calls CloseMedia first, so it appears I'm not missing a cleanup call from what I can tell.
Any tips on addressing/debugging this issue? Unfortunately, it's quite difficult to get live debugging in a UWP package. I am using ApplyToMesh to render the video, so perhaps the issue is somewhere there.