Cannot access repositories from Unity Package Manager

Aperta
#614 4 commenti 6 reazioni 0 assegnatari Vedi su GitHub

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
Da chiarire
Stato di attività
Ferma
Stack tecnologico
unity

Direzione di ricerca

Inizia con l'errore di autenticazione di Unity Package Manager riportato nell'issue e riproducilo utilizzando la pipeline di build CI self-hosted descritta. Analizza come Unity Builder gestisce il download dei pacchetti Asset Store, in particolare com.meta.xr.sdk.core. Il lavoro è completato quando la pipeline riesce a scaricare il pacchetto e a completare correttamente la build.

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

Descrizione

bug

Bug description

When adding the Meta XR Core SDK using the Unity Package Manager (so from the Unity Asset Store), everything works out-of-the-box in the editor and in builds there. In the CI build pipeline (self-hosted), the build fails because the Unity Builder isn't capable of downloading the Meta package from Unity Packagestore.

How to reproduce

  • Install Meta Core SDK from the Asset Store
  • Create standard build pipeline from the get started section on the website

Expected behavior

Normal build workflow, successful result.

Additional details

The build fails with the following error:

One or more packages could not be added to the local file system:
    com.meta.xr.sdk.core: Cannot install package. You are not signed in. Please sign in using the Hub and retry:
      Request [GET https://download.packages.unity.com/com.meta.xr.sdk.core/-/com.meta.xr.sdk.core-59.0.0.tgz] failed because it lacks valid authentication credentials
./External/baselib/builds/Include/Internal/../C/Internal/Baselib_Semaphore_FutexBased.inl.h(158): Assertion failed (count >= 0) - Destruction is not allowed when there are still threads waiting on the semaphore.
Trace/breakpoint trap
Build failed, with exit code 133
Lingua principale
TypeScript
Stelle
1.1k
Fork
318
Merge medio
23h 20m
PR unite (30g)
4

Preparare l'ambiente

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 game-ci/unity-builder

Tutte le issue di game-ci/unity-builder

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.