Movie texture - audio plays after video

I’m having a problem with the movie texture feature in Unity Pro.

I have a scene that has four separate cubes, each with a different video attached.

Two work perfectly, but the two others, with the same coding, play the video first and then the audio.

Any suggestions at what might be causing the problem?

I’m quite new to Unity and I’d appreciate any help.

Thanks.

Hi, welcome to the forum!

I guess you have already established that the original video is OK. Can you try adding the movie that is being played out-of-sync to one of the cubes that is currently working OK? Also, are you just playing the movies from file assets or from a WWW download?

Thank you for your reply.

I have checked the videos and they all play properly on their own and in the preview window when I select them in the Project panel. They are standalone videos, not streamed, all in the mp4 format. The ones that aren’t working are shorter than the ones that are.

I followed your suggestion and moved one of the ones that wasn’t working to a cube where the video was working, and it played properly. I took the video that was on that cube and put it on the one that wasn’t playing properly, and it didn’t work - again, the video played and then the audio.

So I guess it’s not the video itself. I tried to create a completely new cube, to see if it was the cube setup, but that failed as well. So I’m still at a loss - with considerable hair pulled out!

Any further suggestions would be greatly appreciated. Thanks again for responding.

Are the cubes exact duplicates of each other or is it possible that the working one has scripts/components that the other doesn’t or vice versa?