Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movie Player not supported in Windows container #269

Open
chaychoong opened this issue Sep 22, 2022 · 2 comments
Open

Movie Player not supported in Windows container #269

chaychoong opened this issue Sep 22, 2022 · 2 comments

Comments

@chaychoong
Copy link

chaychoong commented Sep 22, 2022

I was running a UE5 package using the ghcr.io/epicgames/unreal-engine:runtime-windows image when I encountered this error during the Mounting plugin phase

LogPluginManager: Mounting plugin WindowsMoviePlayer
PixWinPlugin: PIX capture plugin failed to initialize! Check that the process is launched from PIX.
LogLuminAPIImpl: Warning: MLSDK not found.  This likely means the MLSDK environment variable is not set.
LogWmfMedia: Failed to initialize Windows Media Foundation, Error -2147467263

...

=== Critical error: ===
Assertion failed: (((HRESULT)(Hr)) >= 0) [File:<redacted>/unreal/UnrealEngine/Engine/Plugins/Runtime/WindowsMoviePlayer/Source/WindowsMoviePlayer/Private/WindowsMoviePlayer.cpp

I eventually solved it (just the WMF part) by installing Server-Media-Foundation in the Container

docker run --name tmp-fix -it -v c:\Windows\WinSxS:c:\winsxs ghcr.io/epicgames/unreal-engine:runtime-windows powershell
Install-WindowsFeature -Name Server-Media-Foundation -Source c:\winsxs
exit
docker commit tmp-fix ghcr.io/epicgames/unreal-engine:runtime-windows

I looked through this repo but I'm not too sure where to start to fix this issue. Hoping for some guidance please!

@AMZN-nggieber
Copy link

I've also encountered this same error while trying to run automation unit tests using UE4Editor.exe with Unreal version 4.26.1

@yavuzsonmez
Copy link

yavuzsonmez commented Oct 24, 2023

Hi,

seems like the fix doesn't work anymore. I get the following error:

Install-WindowsFeature : The request to add or remove features on the
specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants