ODR doesn't seem to work anymore

Aperta
#101 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
32/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
csharp, unity

Direzione di ricerca

Start by opening the demo project and building it with Unity 2022.3.67f2, Xcode 26.2, and macOS 26.2, then trace the ODRAssetBundleResource failure in the build logs. Verify that ODR-tagged bundles are packaged and load successfully without the missing asset-pack or archive errors shown.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Repo steps: just open the project and build it.
Expected results: the demo working fine
Actual results: all the bundles that are tagged as ODR fail to load, because the bundle can't be found.

Environment:
Unity 2022.3.67f2
Xcode 26.2
MacOS 26.2

Error example:

Begin: Request 0x0x11f3c25b0 response: Error: Error Domain=NSCocoaErrorDomain Code=4994 "The requested application data doesn’t exist." UserInfo={NSLocalizedFailureReason=Request could not be completed. Invalid tag in set '{( "pack_d_assets_all_43c1d42fa20b7098bfd23680a6352d1f.bundle" )}.'}

CoreUI: can't locate asset pack 'xxx.xxx.xxx.asset-pack-164159ca9f6092b81f486c99ce6102b4' for bundle 'NSBundle </private/var/containers/Bundle/Application/0998E325-C187-407B-85C6-53968E0B7137/ODRADDR2.app> (loaded)' contents of asset pack will be ignored

`Unable to open archive file: res://pack_d_assets_all_43c1d42fa20b7098bfd23680a6352d1f.bundle
UnityEngine.ResourceManagement.ResourceProviders.ODRAssetBundleResource:Completed(AsyncOperation)
UnityEngine.AsyncOperation:InvokeCompletionEvent()

[ line 1827607752]

Failed to read data for the AssetBundle 'pack_d_assets_all_43c1d42fa20b7098bfd23680a6352d1f.bundle'.
UnityEngine.ResourceManagement.ResourceProviders.ODRAssetBundleResource:Completed(AsyncOperation)
UnityEngine.AsyncOperation:InvokeCompletionEvent()

[ line 1827609224]

OperationException : Unknown error in AsyncOperation : Resource(pack_d_assets_all_43c1d42fa20b7098bfd23680a6352d1f.bundle)
UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1:set_OperationException(Exception) UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase1:Complete(TObject, Boolean, Exception, Boolean)
UnityEngine.AsyncOperation:InvokeCompletionEvent()`

Lingua principale
C#
Stelle
1.5k
Fork
303
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Unity-Technologies/Addressables-Sample

Tutte le issue di Unity-Technologies/Addressables-Sample

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.