RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
235 stars 28 forks source link

How to build for Android with large video files (Gradle error)? #2020

Closed charlesingea closed 7 hours ago

charlesingea commented 8 hours ago

Describe the issue I am trying to build a video player for Meta Quest 3 (Android). I have a video file in StreamingAssets that is 2.19 GB. Whenever I try to build to my headset, I get the following Gradle error:

A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction Required array size too large

How can I build for large video files?

Your Setup (please complete the following information):

Ste-RH commented 7 hours ago

This is not an AVPro Video issue.

2.19GB is waaaaay to big to go in the Streaming Assets folder. I advise one of the following: