Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project has invalid dependencies #6

Closed
JohnENoonan opened this issue Apr 23, 2021 · 6 comments
Closed

Project has invalid dependencies #6

JohnENoonan opened this issue Apr 23, 2021 · 6 comments

Comments

@JohnENoonan
Copy link

Hi, I'm trying to use the repo to make custom viewers but with the new updates I am having issues with invalid dependencies. When launching the ReflectViewer project I get a window saying an error occurred. Here is the contents of error message from the editor log

An error occurred while resolving packages:
  Project has invalid dependencies:
    com.unity.device-simulator: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.device-simulator' was denied
    com.unity.ide.rider: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.ide.rider' was denied
    com.unity.inputsystem: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.inputsystem' was denied
    com.unity.mars: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.mars' was denied
    com.unity.mars-ar-foundation-providers: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.mars-ar-foundation-providers' was denied
    com.unity.mars-nav-mesh: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.mars-nav-mesh' was denied
    com.unity.reflect: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.reflect' was denied
    com.unity.reflect.multiplayer: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.reflect.multiplayer' was denied
    com.unity.test-framework: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.test-framework' was denied
    com.unity.xr.arfoundation: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr.arfoundation' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xrtools.module-loader (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.module-loader' was denied
    com.unity.xrtools.utils (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.utils' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xrtools.module-loader (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.module-loader' was denied
    com.unity.xrtools.utils (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.utils' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.editorcoroutines (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.editorcoroutines' was denied
    com.unity.reflect.runtime (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.reflect.runtime' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.reflect.runtime (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.reflect.runtime' was denied
  Package com.unity.reflect.viewer-core@file:C:\Users\DEV\Documents\rnd\reflectCustom\Packages\com.unity.reflect.viewer-core has invalid dependencies or related test packages:
    nuget.moq (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/nuget.moq' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.searcher (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.searcher' was denied
  Package com.unity.spatial-framework-core@file:C:\Users\DEV\Documents\rnd\reflectCustom\Packages\com.unity.spatial-framework-core has invalid dependencies or related test packages:
    com.unity.xr-line-renderer (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr-line-renderer' was denied
    com.unity.xr.interaction.toolkit (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr.interaction.toolkit' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xr.arsubsystems (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr.arsubsystems' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xrtools.utils (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.utils' was denied
  Package [email protected] has invalid dependencies or related test packages:
    nuget.castle-core (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/nuget.castle-core' was denied

This error occurs on both the development and public_deployment branches. Thank you for any help.

@rubit0
Copy link

rubit0 commented Apr 26, 2021

I'm getting this error when trying to open the reflect viewer project (2020.3.5f1):

An error occurred while resolving packages:
Project has invalid dependencies:
com.unity.ads: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.ads' was denied
com.unity.device-simulator: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.device-simulator' was denied
com.unity.ide.rider: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.un...

(For the full error message, see the editor log file located at [/Users/ruben/Library/Logs/Unity/Editor.log])

Click on Retry to relaunch Unity and reopen your project.

Click on Continue to launch Unity.

@rubit0
Copy link

rubit0 commented Apr 26, 2021

Commitfa6adb4seems to work fine, just needed to update the MARS AR Foundation Providers package.

@JohnENoonan
Copy link
Author

Yeah @rubit0, looks like you can fallback to Reflect version 1. For version 2 however, even after #7 I'm still having issues with packages. It seems to be using the local included packages but regardless there are referenced dependencies that are still from an internal Unity source.

An error occurred while resolving packages:
  Project has invalid dependencies:
    com.unity.device-simulator: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.device-simulator' was denied
    com.unity.ide.rider: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.ide.rider' was denied
    com.unity.inputsystem: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.inputsystem' was denied
    com.unity.mars: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.mars' was denied
    com.unity.mars-ar-foundation-providers: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.mars-ar-foundation-providers' was denied
    com.unity.mars-nav-mesh: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.mars-nav-mesh' was denied
    com.unity.xr.arfoundation: Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr.arfoundation' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xrtools.module-loader (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.module-loader' was denied
    com.unity.xrtools.utils (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.utils' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xrtools.module-loader (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.module-loader' was denied
    com.unity.xrtools.utils (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.utils' was denied
  Package com.unity.reflect@file:C:\Users\DEV\Documents\rnd\com.unity.reflect.viewer\Packages\com.unity.reflect-2.1.0-preview.106.tgz has invalid dependencies or related test packages:
    com.unity.editorcoroutines (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.editorcoroutines' was denied
    com.unity.reflect.runtime (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.reflect.runtime' was denied
  Package com.unity.reflect.multiplayer@file:C:\Users\DEV\Documents\rnd\com.unity.reflect.viewer\Packages\com.unity.reflect.multiplayer-0.0.1-preview.57.tgz has invalid dependencies or related test packages:
    com.unity.reflect.runtime (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.reflect.runtime' was denied
  Package com.unity.reflect.viewer-core@file:C:\Users\DEV\Documents\rnd\com.unity.reflect.viewer\Packages\com.unity.reflect.viewer-core has invalid dependencies or related test packages:
    nuget.moq (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/nuget.moq' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.searcher (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.searcher' was denied
  Package com.unity.spatial-framework-core@file:C:\Users\DEV\Documents\rnd\com.unity.reflect.viewer\Packages\com.unity.spatial-framework-core has invalid dependencies or related test packages:
    com.unity.xr-line-renderer (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr-line-renderer' was denied
    com.unity.xr.interaction.toolkit (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr.interaction.toolkit' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xr.arsubsystems (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xr.arsubsystems' was denied
  Package [email protected] has invalid dependencies or related test packages:
    com.unity.xrtools.utils (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/com.unity.xrtools.utils' was denied
  Package [email protected] has invalid dependencies or related test packages:
    nuget.castle-core (dependency): Access to 'https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-candidates/nuget.castle-core' was denied

In Safe Mode it looks like all the packages are up to date. Is there something else I should do to make it not use these internal packages?

@rubit0
Copy link

rubit0 commented Apr 27, 2021

Note that external users need to have signed an access agreement before accessing any non-public files

@rubit0
Copy link

rubit0 commented Apr 27, 2021

The problem has been resolved, I think this issue can now be closed?

@JohnENoonan
Copy link
Author

Dependencies fixed with with most recent commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants