Movie doesn't play in UMG after upgrading to 4.18

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:

  1. Create a new project in 4.17. I picked the blank template, no starter content.
  2. Add a movie file to the project.
  3. Create a media player with an associated texture.
  4. Create a material from the media texture, change its domain to User Interface.
  5. Create a UMG widget, place an Image in its canvas panel,set the image’s brush to the material.
  6. 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.
  7. In the level blueprint’s BeginPlay create the widget and add it to the viewport.
  8. Save everything then PIE and see the video play on your screen.
  9. Close the editor, change your project version to 4.18.
  10. 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.

Hello ,

Using the repro steps you provided I was able to reproduce this issue, however, I was able to get the movie file to play again by doing the following steps:

  1. In the media material, replace the media texture, as the reference has an error when updating to 4.18
  2. In the Media texture, replace the reference to the media player
  3. PIE > and the video should play in the widget

Thanks!

Ah, thanks. I had found that you need to change the texture in the material to “External” but missed that I had to replace the reference to the media player in the media texture.