I'm making an Android/iOS app using Vuforia and Easy Movie Texture to display videos on markers, but I'm running into some problems. I made green screen videos display on a plane attached to a Vuforia target and when that video reaches its end, it loops them from a specific time in the video. For instance a video begins playing at 0:00 and ends at 0:30, then goes back to a position I set, for instance 0:15 and then plays toward the end again, loops back, etc. This seemed to work fine with my first test video, however when trying with a different video, Unity crashes instantly without the option for a bug report (it hangs and I then have to use task manager to close it) when the video reaches the point where it's supposed to loop back. To add to the frustration, the same video caused problems when the target it's attached to is lost. If I slowly move the target out of the cameras vision, it disables the plane's mesh renderer like it should. However when quickly moving the target, Unity again crashes without the option for a bug report.
I feel I have done about everything I can think of to prevent this; disabled each function I use when looping to see what's causing the problem, use different materials, check the videos codecs (they're the same, mpeg4 H264). But the only difference I can seem to find is the size of the videos, the working video is 10.8 mb, the one that seems to cause the crashing is 1.8 mb (notice: 'seems', I have no idea if it's actually the video causing the problems).
If anyone has any idea what may be causing the problems or has experienced these problems themselves, please reply because I'm all out of ideas.
Thanks in advance.