Description

On the iphone 6+ it appears that videos played, then unloaded, then reloaded, and played again using the media player will cause a game crash given enough time.

This behavior doesn't seem to occur on an Android device of similar specs.

Steps to Reproduce
  1. Open attached project (project was too big see link provided in comments)
  2. Launch to IOS device
  3. Fly above the platform located above and to the right of the starting position
  4. When you see a flat mesh appear with a movie playing on its surface (video might take a little bit of time to load) begin moving over to the other platform located to the left
  5. When you see the same thing occur on the other side begin moving back to the platform on the right hand side
  6. continue this motion several times (see video for example of how to repro)

Alternative Repro

  1. Open a blank project
  2. Add a few mp4 videos in the content folder
  3. Create two media players
  4. In the scene add two simple cube meshes and apply each with it's own media player material
  5. Have each cube on it's own sublevel
  6. In the persistent level use trigger volumes such that a cube is within its own trigger and when the volume is entered it will load in and play the video
  7. Also add an end overlap event that unloads the sublevel that the corresponding cube is on
  8. Save all and deploy to an IOS device (iphone 6+)
  9. When on the device fly into each volume and alternate so only one video is active at a time
  10. Repeat this process several times

RESULT
The game will crash after a bit of time as well as a noticeable increase in load times for the videos.

EXPECTED
The videos are able to play consistently no matter how many times they are loaded or unloaded.

Community References

Have Comments or More Details?

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

2
Login to Vote

Cannot Reproduce
ComponentMedia Framework
Affects Versions4.14.3
Target Fix4.16
CreatedFeb 2, 2017
ResolvedApr 27, 2017
UpdatedSep 16, 2019