Skip to content

DepthAPI URP plugin brakes Package Manager in Unity 6.0.38f #82

@dudziakl

Description

@dudziakl

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

Image

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.
Image

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.

Image

After this, the Package Manager throws an error.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions