Search Unity

Unable to open projects

Discussion in 'Editor & General Support' started by luanhimmlischdev, Mar 29, 2020.

  1. luanhimmlischdev

    luanhimmlischdev

    Joined:
    Mar 14, 2020
    Posts:
    7
    I posted this same thread a weeks ago and I've got ghosted (Thanks for that!) so Im posting it again.

    When I open a project in unity hub it crashes and shows the message "unity is already in list. you cannot locate the same version" and when I try to open a scene directly from the file it shows the package manager error pop up even though everything works

    And it also happens when I create a new project.

    Package manager log:
    6 out of 6 checks passed:
    [
    {
    "name": "UPM registry reachable",
    "description": "Make an HTTP request to the UPM package registry",
    "result": "PASS",
    "detail": "HTTP/1.1 200 OK\nX-Powered-By: Express\nProvider: Genesis\nDate: Sat, 14 Mar 2020 23:01:31 GMT\nConnection: close"
    },
    {
    "name": "Ping UPM registry",
    "description": "Measure the latency of the UPM package registry API",
    "result": "PASS",
    "detail": "10 pings made in 5.038 seconds\nAverage latency: 73.61 ms\nMinimum latency: 62.07 ms\nMaximum latency: 157.25 ms\nStandard deviation: 29.49"
    },
    {
    "name": "Ping UPM download",
    "description": "Measure the latency of the UPM package download endpoint",
    "result": "PASS",
    "detail": "7 pings made in 5.287 seconds\nAverage latency: 22.17 ms\nMinimum latency: 20.12 ms\nMaximum latency: 31.60 ms\nStandard deviation: 4.18"
    },
    {
    "name": "UPM registry download speed",
    "description": "Test the Internet connection using the UPM package registry",
    "result": "PASS",
    "detail": "Measured speed to the UPM registry: 15.73 Megabits per second"
    },
    {
    "name": "Speedtest.net",
    "description": "Test the Internet connection using Speedtest.net",
    "result": "PASS",
    "detail": "Measured speed to the Speedtest.net server: 16.73 Megabits per second"
    },
    {
    "name": "HTTP proxy environment variables",
    "description": "Detect whether proxy-related environment variables are set (HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY, UNITY_PROXYSERVER, UNITY_NOPROXY)",
    "result": "PASS",
    "detail": "No proxy support has been configured through environment variables."
    }
    ]

    Editor.log:
    [LicensingClient] ERROR Failed to connect to local IPC
    [Licensing::Module] Failed to connect to channel: LicenseClient-Luan
    [Licensing::Module] Successfully launched the LicensingClient
    [LicensingClient] Timed-out attempting to connect to the Licensing Client on pipe: LicenseClient-Luan.
    [LicensingClient] ERROR Failed to connect to local IPC
    [Licensing::Module] Failed to connect to channel: LicenseClient-Luan
    IPC channel to LicensingClient doesn't exist; falling back to Legacy licensing
    [LicensingClient] ERROR Failed to disconnect local IPC connection

    LICENSE SYSTEM [2020315 20:31:3] Next license update check is after 2020-03-17T02:28:46

    Built from '2019.3/staging' branch; Version is '2019.3.5f1 (d691e07d38ef) revision 14062048'; Using compiler version '191627012'
    OS: 'Windows 10 (10.0.0) 64bit' Language: 'es' Physical Memory: 3954 MB
    BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
    No valid Unity Editor license found. Please activate your license.
    [Package Manager] Server::Start -- Port 60703 was selected

    COMMAND LINE ARGUMENTS:
    C:\Program Files\Unity\Editor\Unity.exe
    -projectpath
    C:/Users/Luan/Desktop/Test
    -useHub
    -hubIPC
    -cloudEnvironment
    production
    -hubSessionId
    a225b1b0-672d-11ea-aadb-7b4370714c1d
    -accessToken
    _ZRWS8BKtYxRr3QQpsKBPwOrjkkUacoN8hKeR4n0A7s004f
    Exiting without the bug reporter. Application will terminate with return code 0

    upm.log:
    [2020-03-16T02:31:29.438Z][INFO] Starting Server
    [2020-03-16T02:31:29.517Z][INFO] Server started on port [60703]
    [2020-03-16T02:31:30.600Z][ERROR] [Unity Package Manager (Upm)]
    Parent process [6516] was terminated


    I reinstalled Unity and Unity hub and I reactivated the license and nothing seems to work.
     
  2. Oskiii

    Oskiii

    Joined:
    Feb 23, 2016
    Posts:
    13
    I posted a report about this bug via the Unity bug reporter, but I'll post here too.

    1. What happened

    This problem started happening when I built my new PC. I don't know if you'll get data for my machine, but here's my old PC where everything worked: https://pcpartpicker.com/list/vrx99G Here's my current PC: https://pcpartpicker.com/list/ZtdvDx

    Unity Hub does not open any project (tried with existing project and new HDRP project). When clicking on a project, first Unity Hub closes, the Unity splash shows for a few seconds, then Unity Hub reopens and then the Unity splash goes away. When Hub reopens, it shows an error for a fraction of a second: "Unity is already in list. You cannot locate the same version.".

    I've tried reinstalling Unity and Unity Hub and the license. I even uninstalled Unity and Unity Hub and anything I could find with the word Unity (anything in AppData, for example) using the Everything application. It still does not work.

    2. How we can reproduce it using the example you attached

    I doubt you'll be able to reproduce this since it happens even on a new project.

    - Create new project in Unity Hub
    - Project opens as expected
    - Close project
    - Try to reopen project via Hub
    - Project doesn't open

    info-log.json
    {"moduleName":"LocalProject","level":"info","message":"[ 'openProject projectPath: D:/Koodi/thecube, current editor:',\n undefined ]","timestamp":"2020-04-01T16:18:01.989Z"}
    {"moduleName":"RestEvent:project","level":"info","message":"[ 'onProjectOpen data:', { projectPath: 'D:/Koodi/thecube' } ]","timestamp":"2020-04-01T16:18:01.989Z"}
    {"moduleName":"UnityIPCServer","level":"info","message":"[ 'client process has connected to Unity-hubIPCService!' ]","timestamp":"2020-04-01T16:18:02.095Z"}
    {"moduleName":"HubIPCService","level":"info","message":"[ 'socket has disconnected: [object Object] , false!' ]","timestamp":"2020-04-01T16:18:12.666Z"}
    {"moduleName":"LaunchProcess","level":"info","message":"[ 'child process exited with code 0' ]","timestamp":"2020-04-01T16:18:12.675Z"}

    AppData/LocalLow/Unity/Editor/3144896955/values
    {"config_etag":"","app_info_hash":3514567783,"app_installed":true,"engine_ver":"2019.2.17f1","app_ver":"1.0","registered_events":[],"editor_info_hash":466115216,"project_info_hash":643,"editor_prefs_hash":3030652864}

    Editor.log
    Initiating legacy licensing module

    LICENSE SYSTEM [202041 19:18:2] Next license update check is after 2020-04-02T15:47:59

    Built from '2019.2/staging' branch; Version is '2019.2.17f1 (8e603399ca02) revision 9330739'; Using compiler version '191627012'
    OS: 'Windows 10 (10.0.0) 64bit' Language: 'en' Physical Memory: 16316 MB
    BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
    [Package Manager] Server::Start -- Port 63221 was selected

    COMMAND LINE ARGUMENTS:
    C:\Program Files\Unity\Hub\Editor\2019.2.17f1\Editor\Unity.exe
    -projectpath
    D:/Koodi/thecube
    -useHub
    -hubIPC
    -cloudEnvironment
    production
    -hubSessionId
    e2f89bd0-742f-11ea-a7d9-517bda8f23c7
    -accessToken
    -XXXXXXXXX
    Exiting without the bug reporter. Application will terminate with return code 0

    upm.log
    {"level":"info","message":"Starting Server","timestamp":"2020-04-01T16:18:02.697Z"}
    {"level":"info","message":"Server started on port [63221]","timestamp":"2020-04-01T16:18:02.701Z"}
    {"level":"info","message":"Health Request received","timestamp":"2020-04-01T16:18:03.106Z"}
    {"level":"error","message":"[Unity Package Manager (Upm)]\nParent process [1284] was terminated","timestamp":"2020-04-01T16:18:12.706Z"}
     
  3. Oskiii

    Oskiii

    Joined:
    Feb 23, 2016
    Posts:
    13
    I tried installing a different version of Unity. The problem persists with 2019.3.7f1.
     
  4. Oskiii

    Oskiii

    Joined:
    Feb 23, 2016
    Posts:
    13
    Update: after following another thread, I installed an older version of Unity Hub (2.0.4). I can now open the project via Hub and everything works.
     
  5. marianna-kon

    marianna-kon

    Joined:
    Oct 25, 2019
    Posts:
    1
    Can you post the thread please? I can't find an older version of unity hub in the download archives
     
  6. Oskiii

    Oskiii

    Joined:
    Feb 23, 2016
    Posts:
    13
  7. luanhimmlischdev

    luanhimmlischdev

    Joined:
    Mar 14, 2020
    Posts:
    7
    Did you also unistalled the Unity version you had or something else? I tried to change the Unity Hub version but still not working, but at least now the projects starts to open but later the UPM connection error appears