Videos on Android are black using UaaL, works fine in pure Unity build.
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, unity
- 領域
- mobile
調査の方向性
The report names Unity 2020.3.14f1, AR Foundation 4.1.7, and the Unity VideoPlayer, and cites Unity's issue about compressed asset bundles. Start by checking how UaaL packages sharedassets0.resource and compare it with the working pure Unity build and the StreamingAssets workaround. Done means identifying why Android cannot open the video in the UaaL build and documenting or fixing the cause; the issue gives no file or test entry point.
索引モデルが issue の本文から書いたものです。
説明
Hi, I'm using UaaL with Unity 2020.3.14f1 and AR Foundation 4.1.7 and the video I'm trying to play is just a VideoClip using the Unity VideoPlayer component and it shows a black screen where the video should be. the video plays fine in an Android build built directly from Unity. In the logcat, it's spewing this message:
W/Unity: AndroidVideoMedia::OpenExtractor could not translate sharedassets0.resource to local file. Make sure file exists, is on disk (not in memory) and not compressed.
AndroidVideoMedia: Error opening extractor: -10004
I found it's similar to this issue playing video in compressed asset bundles, they have to be uncompressed.
https://issuetracker.unity3d.com/issues/android-loading-videos-from-assetbundles-fails-unless-its-uncompressed-and-loaded-from-file
So I'm wondering if it needs to be extracted and/or uncompressed first from sharedassets0? I did confirm there a workaround of putting the video in StreamingAssets and playing it from a URL. Not ideal but it works.
Thanks,
Alan
- 主要言語
- Objective-C++
- スター
- 815
- フォーク
- 252
- 平均マージ
- 21時間 42分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Unity-Technologies/uaal-example のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Unity-Technologies/uaal-example#123 · コメント 4 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Unity-Technologies/uaal-example#122 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
Unity-Technologies/uaal-example#120 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
Unity-Technologies/uaal-example#118 · コメント 4 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Unity-Technologies/uaal-example#116 · コメント 1 件 ·
Unity-Technologies/uaal-example の issue をすべて見る
似ている issue
-
area:focus area:ui cluster:focus-remote effort:s platform:android-tv platform:fire-tv priority:critical type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fatihmutluu/elv-iptv#425 ·
メンテナーはふだん 1 日以内に返信
-
proposal
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
beemdevelopment/Aegis#1861 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
upstream-issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ankidroid/Anki-Android-Backend#785 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
DuarteSantos8/openGym#1469 ·
メンテナーはふだん 2 日以内に返信