After upgrading my project from 4.17 to 4.18 the UMG widget I made to play a movie file just displays black. I put the media texture on a static mesh in the world and it displayed fine, seems to be just UMG that doesn’t work.
I was able to reproduce this in a new project with the following steps:
- Create a new project in 4.17. I picked the blank template, no starter content.
- Add a movie file to the project.
- Create a media player with an associated texture.
- Create a material from the media texture, change its domain to User Interface.
- Create a UMG widget, place an Image in its canvas panel,set the image’s brush to the material.
- Add a media player variable to the widget and in its Construct event call “Open Source” on the media player with the movie from step 2.
- In the level blueprint’s BeginPlay create the widget and add it to the viewport.
- Save everything then PIE and see the video play on your screen.
- Close the editor, change your project version to 4.18.
- Reopen the editor, load the level you set up and PIE again, the image should only display black now.
If you need the video file I used or just the entire project I can provide that. Thanks.