Media Player make memory leak and freeze in shipping configuration

Build Type:
This is a build from the Unreal Launcher

Build version:
4.18.0-3685441

Description:
The packaged application freeze when you try to start playing a video file through a Media Player. The problem happens after packaging Project (no matter x86 x64) and Build configuration - Shipping (In Development all work). Playback in the editor works fine.

Steps to Reproduce:

  1. Create a new blank project using blueprint
  2. Make movies folder in the Content folder
  3. Copy video (*.mp4 h264 (in my case the duration is 2 minutes)) to movies folder
  4. Import video to editor
  5. Open the created File Media Source and activated Precache File
  6. Create a new Media Player with Video output Media Texture Asset
  7. Make New Material from Media Texture
  8. Create Plane Mesh in scene and apply Material
  9. In Level Blueprint make Variable called Mediaplayer with type Media Player Reference and set value to Media Player from step 6
  10. On Event BeginPlay create OpenSource and connect him to Mediaplayer Variable
  11. Packing Project with Build configuration - Shipping.
  12. Start the Apps and get freeze

System Specs:
Windows 7 x64, i7 2600K, 16GB RAM, NVIDIA GTX560

Thanks Viktor, we’ll take a look soon!

Hello Viktor,

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.