Possibly a bug?
To play an mp4 video attached to a sprite in the lens studio preview either of these work.
//@input Component.SpriteVisual movieSprite
script.movieSprite.getMaterial(0).getPass(0).baseTex.control.play(1);
or
//@input Asset.Texture movie
script.movie.control.play(1);
But, when you push the first one using the sprite's baseTex to a phone, it will crash the lens. Only the second one using the texture itself works on the phone. (Tested on iPhone)
I have the same error (Tested on Android)
I also cannot submit my lens when I'm using a video, it always says invalid because error after submitting even though it works fine with no errors
Hi Apoc and James,
I'll follow up with each of you individually to see if we can reproduce this bug on our end once we get more details about your settings.
Cheers,
Kaitlyn