When using the Media Player freezes project in a shipping build of the game, the game will freeze and the only way to quit will be to forcefully close the program. This issue is a regression.

Versions Tested:
4.17.2 - CL: 3658906 - Issue does not occur
4.18P4 - CL: 3685441 - Issue occurs
UE4 Main - CL: 3697781 - Issue occurs

Steps to Reproduce
  1. Create a new project (No template or starter content needed) save and close the project
  2. In the content folder (outside of the project) create a folder named "Movies"
  3. In the new Movies folder add a mp4 file to the folder
  4. Reopen the project and in the movies folder, add a FileMediaSource and add the mp4 as the file source
  5. In the FileMediaSource show the advanced settings and check the box for precache file
  6. Save and close the FileMediaSource Create a new MediaPlayer with video output Media Texture Asset.
  7. Create a new material from the Media texture (right click the media texture and select the create material option)
  8. Add a plane to the viewport and apply the Media Texture material to the mesh
  9. In the level blueprint add a new variable of type Media Player and set the value to the media player
  10. Using the media player variable get an open source node and for the media, asset add the FileMediaSource
  11. PIE (ensure that video plays with no issue)
  12. Package the project with the shipping build configuration
  13. When the project finishes packaging open the packaged games
    Result: The packaged game freezes
    Expected Result: The game displays the video with no issue

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentMedia Framework
Affects Versions4.184.19
Target Fix4.18
Fix Commit3706798
Release Commit3706798
CreatedOct 17, 2017
ResolvedOct 19, 2017
UpdatedApr 27, 2018