Forum rules - please read before posting.

Play Movie Clip - Freezes when focus lost, but game continues

When we use an Engine - Play Movie Clip to play a video in an actionlist. It works, except if the player alt tabs out of the game, or somehow loses focus of the window while the clip is playing. If that happens, the video freezes on whatever frame it's on. But, we hear the in-game audio kick in, so it continues to run through the actionlist.

A few things to note

  1. Wait till finished is checked
  2. Pausing it works normally. When "Pause when game is paused" is checked.
  3. When "Hold last frame" is checked, it doesn't freeze on whatever frame it's on, and it will play to the last frame, but when you alt tab out, it will play the rest of the actionlist immediately and it no longer responds to when the game is paused.
  4. video is an mp4. 1920x1080. 8.9mb

Comments

  • And one more note, if I apply it to a texture, and dont play it with AC, just run it with unity's player, it works normally. I just cant pause it with the game.

  • Is the video being played from a Video Player component? The behaviour will be a part of that component.

    You can have a script hook into the OnApplicationFocus to manually pause the video, but AC wouldn't be invovled.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.