- Home /
Question by
CodeMonk3y · Aug 23, 2016 at 07:39 AM ·
unity 5webglassetbundle
MovieTexture is not supported when building for WebGL
When I make an assetbundle built in WebGL, I get the warning "MovieTexture is not supported when building for WebGL".
I'm using this simple script to build:
public class CreateAssetBundles
{
[MenuItem("Assets/Build AssetBundles")]
static void BuildAllAssetBundles()
{
BuildPipeline.BuildAssetBundles("../SiteData", BuildAssetBundleOptions.None, BuildTarget.WebGL);
}
}
The bundle contain a few .mp4 videos and .wav files. It's having issues with the videos, and I'm not sure how to solve this when building specifically for assetbundles. I know that if you create a normal build, you can tell it to use WebGLMovieTexture instead.
Is there a way I can tell it to use WebGL's movie texture, or is this a different issue overall?
Comment