Hi everyone,
I’ve been encountering an issue with UE4 where I suspect there’s a thread deadlock occurring during some WMF (Windows Media Foundation) function calls related to the UMediaPlayer
class. This issue has been causing significant trouble, and I’m not sure how to proceed to resolve it.
Here’s what I’ve observed:
- The deadlock seems to happen when call UMediaPlayer::Close().
- It occurs not very often.
I’ve attached screenshots of some thread call stacks that I believe might help in diagnosing the problem.


Has anyone else experienced this issue, or does anyone have insights on what might be going wrong here? Any suggestions on how to debug or work around this problem would be greatly appreciated.
I’m using UE4 version 4.27 on Windows 10.
Thank you in advance for your help!