Videos on Android are black using UaaL, works fine in pure Unity build.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- android, unity
- Ambito
- mobile
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Objective-C++
- Stelle
- 815
- Fork
- 252
- Merge medio
- 21h 42m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Unity-Technologies/uaal-example
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Unity-Technologies/uaal-example#123 · 4 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
Unity-Technologies/uaal-example#122 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
Unity-Technologies/uaal-example#120 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
Unity-Technologies/uaal-example#118 · 4 commenti · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Unity-Technologies/uaal-example#116 · 1 commento ·
Tutte le issue di Unity-Technologies/uaal-example
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gluestack/gluestack-ui#3469 ·
-
[Bug]: AppiumDriver.PlatformName fails with Appium 4Forse già presa @Dor-bl l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
appium/dotnet-client#1177 · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
area:focus area:ui cluster:focus-remote effort:s platform:android-tv platform:fire-tv priority:critical type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
fatihmutluu/elv-iptv#425 ·
I maintainer di solito rispondono entro 1 giorno
-
proposal
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
beemdevelopment/Aegis#1861 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100