Hi everyone,
I’m encountering an issue where video playback works perfectly when using Mono but fails when switching to IL2CPP. I’ve tried everything discussed in similar threads, including:
- Disabling code stripping using a custom
link.xml
. - Ensuring that the AssetBundle is uncompressed by using:
Copy code
BuildPipeline.BuildAssetBundles("Assets/StreamingAssets", BuildAssetBundleOptions.UncompressedAssetBundle, BuildTarget.Android);
- Using the latest Unity version (2022.2.19f1 LTS) and testing on Android 14.
Despite these efforts, the video still won’t play in IL2CPP, while it works fine in Mono. Has anyone faced a similar issue or found a solution for this? Any help would be appreciated!
Thanks in advance!