Can no longer build Addressables for WebGL with videoclips [2021.2]

Hi there!
We have an app that builds to several platforms, including WebGL, using Unity 2020.2.

We were testing out the 2021.2 beta and noticed that because videoclips are no longer imported at all (warning when attempting to reads “VideoClip assets are not supported in WebGL. Please use the Video Player component’s URL option.”) they cause Addressables to fail to build.

I’m glad that VideoClips not really being supported on WebGL (especially when using Addressables!) is being officially fixed, but the solution creates a new problem that’s a lot worse than our old workaround (separate addressable groups for WebGL that exclude any videos, use URLs instead).

I’m not really sure what the solution for you is here either! I suppose you could simply skip unimported assets, or else manually allow overriding the “is addressable” checkbox for each platform?

Sorry if this is the wrong place to put this - I figured it’s very Addressables-centric and would just get lost on the beta forums.

Ta!

I’ll flag this with the team for their insight.

Hi @tomkail2 for the failed Addressables builds, are you getting these “Cannot recognize file type for entry” errors? If so, you can enable AddressableAssetSettings.IgnoreUnsupportedFilesInBuild to ignore the nonimported videoclips.

Oh thank you! I believe I was. Great to see that’s an option, I’ll try it out :slight_smile:

1 Like