-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I added the DepthAPI URP plugin to the project, which caused us lots of trouble. The project started to load much longer. Rebuilding library took ages to complete. Package Manager was not able to resolve packages or update them.
Here is an example
I have noticed that there was an orphaned git process holding Unity-DepthAPI.git handle even when Unity is closed. After killing git process it was created again whenever project was opened in Unity.
I have added this package through Package Manager by clicking on Plus button, then Install package from git URL, then providing the link to the package https://github.com/oculus-samples/Unity-DepthAPI.git?path=/Packages/com.meta.xr.depthapi.urp
I was not able to uninstall from the Package Manager. The only way was to remove it directly from the manifest.json
"dependencies": { "com.meta.xr.depthapi.urp": "https://github.com/oculus-samples/Unity-DepthAPI.git?path=/Packages/com.meta.xr.depthapi.urp", "com.meta.xr.mrutilitykit": "76.0.0",
I have updated Unity OpenXR Meta com.unity.xr.meta-openxr
to version 2.1.1. But the problems described above still appear.
I can easily reproduce this issue by adding the package again. Run the project a few times in play mode, then internal git process will get stuck on a Unity-DeptiAPI package and block package cache folder.
After this, the Package Manager throws an error.