I seem to have odd Video Playback.
I have a Unity Object with a Video Player component (Set to send audio Direct and Video image to the Camera Near Plane – Play On Awake, Skip on drop are ticked).
In Action Scripts I have the AC action – Engine.PlayMovie – and I’m putting my video file in, and for what I’m doing I have Wait until Finished. I have other actions to follow after a movie is finished.
Sometimes, the video plays, but not always. Watching the action script, it just sits on the highlighted AC action Engine.PlayMovie, never triggers it, and dosnt move on the rest of the action script.
I have multiple buttons to click, each plays a different movie, but 20% of time I have to click a second time on a Hotspot to make the videos play. The Action Scripts seem to occasional hang on Engine.PlayMovie.
My videos are short, all are Transcoded.
Any idea why my Actions are freezing? There are no errors in the console etc.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I've added extra actions before my movie plays - using the AC Engine.PlayMovie > 'filename', but ticking Prepare Only - followed by a Engine Wait 0.1 - and it seems to get around the issue above.
What are your AC and Unity versions?
I can't recreate such an issue. Would you be able to PM me a scene file that has a Cutscene with the issue, along with the VideoClip asset involved?
I shall packaged some files up soon - seems a bit odd