game-ci / game-ci/unity-builder
Cannot access repositories from Unity Package Manager
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 313
- Avg merge
- 1h 39m
- Merged PRs (30d)
- 1
Description
**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
```
Contributor guide
Assessment
This issue has not been assessed yet.