This is NOT for a game.
I have 9 media players; each one has a corresponding media texture and image media source.
The user selects for each media source which image sequence will be played. These are all dynamically loaded. This is for broadcast, not a game, and the media can and will change, so it can’t be built into the project.
The files are opened like this:
I have checks to see if the sources are opened; I bind to the event dispatchers on open, on open fail, I am doing every check I can think of, but sometimes it just won’t open and play the sequence.
While in PIE, I can look at the media source, and it’s correct. I can look at the player in question, and it’s set to the correct source… it’s been an extremely frustrating problem, as sometimes it works, sometimes it doesn’t. Sometimes if I repeatedly run the event that opens the media (call in editor is checked), it will work… So if it won’t work, I run it a couple times explicitly, and then it will work.
But I’m sure it’s all loading and opening (assuming I can believe the media player events). This is ALWAYS called when I try to open:
But then it simply won’t work.
Any tips on how to double check an “open” actually worked, and the media player is actually read to play?
I’ve tried waiting for events that signal the sequence is open, I’ve tried adding delays… it’s just a hit or miss problem.
EDIT: in a simplified level with only one player, it seems to work consistently, so there is something about trying to open multiple media sources (even with multiple media sources defined) that makes it fail, I think.



