- Home /
No audio when importing .Mov as animated material?
Hi guys,
I've imported a .Mov and have it working as an animated texture on a flat plane, this all works perfectly - however there is no sound. When i preview the .Mov in the inspector there is sound, just not when i play it in-game.
Heres the code i am using to play the texture - and then load the next level when it is finished - and also to skip it when 'space' is pressed:
function Start () { // play the cutscene renderer.material.mainTexture.Play (); // Wait 150 seonds (which is when the cutscene finishes) yield WaitForSeconds(150); // Load the level Application.LoadLevel (1); }
function Update () { // When you press 'Jump' (space bar) you skip the cutscene and load the level if (Input.GetAxis("Jump")) { Application.LoadLevel (1); } }
I'm guessing that i might have to record the sound of the .Mov externally and then import it as a seperate audio track and then play them at the same time to mimic the effect, though surely its easier than that?
Thanks for any help.
Your answer
![](https://koobas.hobune.stream/wayback/20220613022527im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Volume and rolloff - can you ignore the Z axis? 1 Answer
AudioClip sync across a network: help needed! 0 Answers
audio between scripts 1 Answer
play audio on touch 1 Answer
How I can prevent music from stopping after changing a scene? 3 Answers