Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Hub3.0 Completely Ruin My Dev Env

Discussion in 'Unity Hub' started by kingsznhone, Jan 17, 2022.

  1. kingsznhone

    kingsznhone

    Joined:
    Nov 17, 2020
    Posts:
    4
    When hub 3.0 was in beta , I had a try to upgrade beta3 to beta7. But only black screen .
    OK,I guess it just because of beta. So i downgrade to 2.x. Everything is good. we cool here.
    But today, hub3 finally release. that's what I got. Boom

    20220117224445.png

    When I trying to downgrade to v2 as usual, I found I can't find where I can get v2 installation.
    hub3.0 really piss me off.
     
  2. kingsznhone

    kingsznhone

    Joined:
    Nov 17, 2020
    Posts:
    4
    I peek on log file. but everything look fine.


    {"level":"info","message":"[\n 'Proxy configurations found for protocol http: http://127.0.0.1:10809'\n]","moduleName":"ProxyHelper","timestamp":"2022-01-17T15:07:57.428Z"}
    {"level":"info","message":"[ 'Checking arguments for Windows custom URI scheme' ]","moduleName":"App","timestamp":"2022-01-17T15:07:57.567Z"}
    {"level":"info","message":"[ 'No custom URI argument found' ]","moduleName":"App","timestamp":"2022-01-17T15:07:57.568Z"}
    {"level":"info","message":"[ 'Hub version: 3.0.0' ]","moduleName":"SystemInfo","timestamp":"2022-01-17T15:07:57.571Z"}
    {"level":"info","message":"[ 'Hub path: C:\\\\Program Files\\\\Unity Hub\\\\Unity Hub.exe' ]","moduleName":"SystemInfo","timestamp":"2022-01-17T15:07:57.571Z"}
    {"level":"info","message":"[\n 'AMD Ryzen 9 5900HX with Radeon Graphics ; Windows 10 (10.0.0) 64bit'\n]","moduleName":"SystemInfo","timestamp":"2022-01-17T15:07:57.585Z"}
    {"level":"info","message":"[\n {\n cloudEnvironment: 'production',\n servicesUrlInterval: 900000,\n hubConfigInterval: 3600000,\n releasesRefreshInterval: 3600000,\n recentProjectInterval: 60000,\n downloadClusterInterval: 1000,\n downloadEditorInterval: 1000,\n refreshTokenValidity: 2592000000,\n checkForUpdateInterval: 43200000,\n sendAnalyticsEventsInterval: 60000,\n maxSizeForAnalyticsQueue: 500,\n downloadRequestTimeout: 30000,\n servicesConfigBaseUrl: 'https://public-cdn.cloud.unity3d.com/config/',\n globalConfigFolder: 'C:\\\\ProgramData\\\\Unity\\\\config'\n }\n]","moduleName":"HubSettings","timestamp":"2022-01-17T15:07:57.625Z"}
    {"level":"info","message":"[\n 'Cloud Config endpoint: https://public-cdn.cloud.unity3d.com/config/production'\n]","moduleName":"CloudConfig","timestamp":"2022-01-17T15:07:57.626Z"}
    {"level":"info","message":"[ 'Hub process is running in Administrator mode' ]","moduleName":"SystemInfo","timestamp":"2022-01-17T15:07:57.649Z"}
    {"level":"info","message":"[\n 'Local Config endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/hubConfig.json'\n]","moduleName":"LocalConfig","timestamp":"2022-01-17T15:08:01.646Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"TokenManager","timestamp":"2022-01-17T15:08:01.648Z"}
    {"level":"info","message":"[ 'Done init' ]","moduleName":"TokenManager","timestamp":"2022-01-17T15:08:01.650Z"}
    {"level":"info","message":"[ 'Initializing the auth service' ]","moduleName":"Authentification Service","timestamp":"2022-01-17T15:08:01.650Z"}
    {"level":"info","message":"[ 'Token exists, trying to login from existing tokens' ]","moduleName":"Authentification Service","timestamp":"2022-01-17T15:08:01.650Z"}
    {"level":"info","message":"[ 'Fetching user info from the identity provider using access token' ]","moduleName":"Authentification Service","timestamp":"2022-01-17T15:08:01.651Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"CloudAnalytics","timestamp":"2022-01-17T15:08:03.156Z"}
    {"level":"info","message":"[\n 'licensingClientPath: C:\\\\Program Files\\\\Unity Hub\\\\Frameworks\\\\LicensingClient\\\\Unity.Licensing.Client.exe'\n]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.158Z"}
    {"level":"info","message":"[ 'Licensing SDK version: v1.1.8' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.158Z"}
    {"level":"info","message":"[ 'connect: Connecting to Licensing Client IPC channel' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.158Z"}
    {"level":"info","message":"[ 'Trying to connect to existing primary pipe (if any)...' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.159Z"}
    {"level":"info","message":"[ 'Trying to connect on pipe Unity-LicenseClient-kings' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.165Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"LicenseClient","timestamp":"2022-01-17T15:08:03.166Z"}
    {"level":"info","message":"[ 'uninitialized --> initializing' ]","moduleName":"LicenseFSM","timestamp":"2022-01-17T15:08:03.166Z"}
    {"level":"error","message":"Unhandled promise rejection, reason: Cannot read property 'includes' of undefined\n\tstack TypeError: Cannot read property 'includes' of undefined\n at UnityLicenseCore.checkFlag (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\licenseService\\licenseCore.js:819:32)\n at UnityLicenseCore.isPro (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\licenseService\\licenseCore.js:824:21)\n at UnityLicenseCore.getLicenseKind (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\licenseService\\licenseCore.js:842:23)\n at HeapService.getDynamicEventProperties (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\analytics\\heap\\HeapService.js:80:84)\n at HeapService.getEnrichedEvent (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\analytics\\heap\\HeapService.js:86:122)\n at HeapService.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\analytics\\heap\\HeapService.js:91:40)\n at Generator.next (<anonymous>)\n at C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\analytics\\heap\\HeapService.js:8:71\n at new Promise (<anonymous>)\n at __awaiter (C:\\Program Files\\Unity Hub\\resources\\app.asar\\build\\main\\services\\analytics\\heap\\HeapService.js:4:12)","timestamp":"2022-01-17T15:08:03.167Z"}
    {"level":"warn","message":"[ 'License File is not available.' ]","moduleName":"UnityLicenseCore","timestamp":"2022-01-17T15:08:03.168Z"}
    {"level":"info","message":"[ 'License initialized' ]","moduleName":"LicenseClient","timestamp":"2022-01-17T15:08:03.168Z"}
    {"level":"info","message":"[ 'initializing --> licenseInvalid' ]","moduleName":"LicenseFSM","timestamp":"2022-01-17T15:08:03.169Z"}
    {"level":"info","message":"[ 'License error: 98' ]","moduleName":"LicenseClient","timestamp":"2022-01-17T15:08:03.169Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"EditorManager","timestamp":"2022-01-17T15:08:03.169Z"}
    {"level":"info","message":"[\n 'Releases endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/releases-win32.json'\n]","moduleName":"Releases","timestamp":"2022-01-17T15:08:03.169Z"}
    {"level":"warn","message":"[ 'Lost IPC connection to Licensing Client' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.169Z"}
    {"level":"warn","message":"[ 'Failed with ipc error type: PipeIsNotOpen, pid: undefined' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.170Z"}
    {"level":"error","message":"[\n \"Failed to connect to pipe: 'Unity-LicenseClient-kings, pid: undefined'\"\n]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.170Z"}
    {"level":"info","message":"[ 'No client process initialized' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.170Z"}
    {"level":"info","message":"[\n 'Launching Licensing Client from C:\\\\Program Files\\\\Unity Hub\\\\Frameworks\\\\LicensingClient\\\\Unity.Licensing.Client.exe...'\n]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.170Z"}
    {"level":"info","message":"[\n \"Launching on pipe: 'Unity-LicenseClient-kings' in environment: 'production'\"\n]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.170Z"}
    {"level":"warn","message":"[\n 'Could not send track event to analytics service: {\"message\":\"write EPROTO 31829832:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:\\\\n\",\"name\":\"Error\",\"stack\":\"Error: write EPROTO 31829832:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:\\\\n\\\\n at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16)\",\"config\":{\"url\":\"https://heapanalytics.com/api/track\",\"method\":\"post\",\"data\":\"{\\\\\"app_id\\\\\":\\\\\"1717415662\\\\\",\\\\\"identity\\\\\":\\\\\"7mCo3awwj9eVxeJmFaRnr+PkixRlCSESP5WDzcSLtCk=\\\\\",\\\\\"event\\\\\":\\\\\"Hub - Server - Click - Start\\\\\",\\\\\"properties\\\\\":{\\\\\"Mode\\\\\":\\\\\"HUB UI\\\\\",\\\\\"Ts\\\\\":1642432077418,\\\\\"Hub Version\\\\\":\\\\\"3.0.0\\\\\",\\\\\"Machine ID\\\\\":\\\\\"bNKEATBmIamEV+SCRAGR5z1WbM4=\\\\\",\\\\\"Platform\\\\\":\\\\\"kWindows\\\\\",\\\\\"Platform ID\\\\\":7,\\\\\"Session GUID\\\\\":\\\\\"40ad8480-77a7-11ec-b6f5-f32958c32c9d\\\\\",\\\\\"License Hash\\\\\":\\\\\"\\\\\",\\\\\"License Type\\\\\":\\\\\"Unity\\\\\"}}\",\"headers\":{\"Accept\":\"application/json, text/plain, */*\",\"Content-Type\":\"application/json;charset=utf-8\",\"User-Agent\":\"axios/0.21.1\",\"Content-Length\":369},\"proxy\":false,\"transformRequest\":[null],\"transformResponse\":[null],\"timeout\":10000,\"xsrfCookieName\":\"XSRF-TOKEN\",\"xsrfHeaderName\":\"X-XSRF-TOKEN\",\"maxContentLength\":-1,\"maxBodyLength\":-1},\"code\":\"EPROTO\"}'\n]","moduleName":"AnalyticsService","timestamp":"2022-01-17T15:08:03.180Z"}
    {"level":"info","message":"[ 'init' ]","moduleName":"EditorList","timestamp":"2022-01-17T15:08:03.183Z"}
    {"level":"info","message":"[ 'Custom install path not present.' ]","moduleName":"customInstallLocation","timestamp":"2022-01-17T15:08:03.186Z"}
    {"level":"info","message":"[\n '2 out of 4 valid paths found in path:\\n' +\n ' C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor'\n]","moduleName":"EditorFolderScanner","timestamp":"2022-01-17T15:08:03.188Z"}
    {"level":"info","message":"[\n 'read C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2021.2.7f1\\\\modules.json'\n]","moduleName":"Installer:ReleaseFileIO","timestamp":"2022-01-17T15:08:03.188Z"}
    {"level":"info","message":"[\n 'read C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor\\\\2022.1.0b1\\\\modules.json'\n]","moduleName":"Installer:ReleaseFileIO","timestamp":"2022-01-17T15:08:03.188Z"}
    {"level":"info","message":"[ 'Cannot scan custom location (no path set).' ]","moduleName":"customInstallLocation","timestamp":"2022-01-17T15:08:03.189Z"}
    {"level":"info","message":"[ '0 located Editors found in storage' ]","moduleName":"LocatedEditorStorage","timestamp":"2022-01-17T15:08:03.191Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"EditorApp","timestamp":"2022-01-17T15:08:03.194Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"AutoUpdater","timestamp":"2022-01-17T15:08:03.198Z"}
    {"level":"info","message":"[ 'Licensing client process run with pid: 2996' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.563Z"}
    {"level":"info","message":"[ 'Trying to connect on pipe Unity-LicenseClient-kings' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.569Z"}
    {"level":"info","message":"[ 'Successfully connected to licensing client' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.609Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:03.610Z"}
    {"level":"warn","message":"[ 'Missing update server path' ]","moduleName":"AutoUpdater","timestamp":"2022-01-17T15:08:07.132Z"}
    {"level":"info","message":"[ 'Checking for hub updates' ]","moduleName":"AutoUpdater","timestamp":"2022-01-17T15:08:07.132Z"}
    {"level":"info","message":"[ 'Checking for update' ]","moduleName":"AutoUpdater:EventHandler","timestamp":"2022-01-17T15:08:07.133Z"}
    {"level":"info","message":"[ 'No update available' ]","moduleName":"AutoUpdater:EventHandler","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"RestServer","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'subscribing to: license.change' ]","moduleName":"RestEventRouter","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'subscribing to: project.opened' ]","moduleName":"RestEventRouter","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'subscribing to: project.create' ]","moduleName":"RestEventRouter","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'subscribing to: project.createTemp' ]","moduleName":"RestEventRouter","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'subscribing to: project.openedFromCloud' ]","moduleName":"RestEventRouter","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'subscribing to: main-window.change' ]","moduleName":"RestEventRouter","timestamp":"2022-01-17T15:08:09.854Z"}
    {"level":"info","message":"[ 'starting listening for request' ]","moduleName":"WebSocketService","timestamp":"2022-01-17T15:08:09.856Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"HubIPCService","timestamp":"2022-01-17T15:08:09.856Z"}
    {"level":"info","message":"[ 'IPC Server Unity-hubIPCService started' ]","moduleName":"UnityIPCServer","timestamp":"2022-01-17T15:08:09.857Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"LocalProject","timestamp":"2022-01-17T15:08:09.858Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"WindowManager","timestamp":"2022-01-17T15:08:13.044Z"}
    {"level":"info","message":"[ '0 located items found in storage' ]","moduleName":"ListStorage","timestamp":"2022-01-17T15:08:13.046Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"NetworkInterceptors","timestamp":"2022-01-17T15:08:13.047Z"}
    {"level":"info","message":"[ 'Init' ]","moduleName":"TrayMenu","timestamp":"2022-01-17T15:08:13.047Z"}
    {"level":"info","message":"[ 'Getting initial route for Main Window' ]","moduleName":"ApplicationRouteHelper","timestamp":"2022-01-17T15:08:13.116Z"}
    {"level":"info","message":"[ 'setAccessToken: Setting access token' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:13.117Z"}
    {"level":"info","message":"[ 'Get all entitlement groups' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:13.117Z"}
    {"level":"info","message":"[ 'Successfully received all entitlement groups details' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:13.142Z"}
    {"level":"info","message":"[ 'Received 0 entitlement groups' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:08:13.142Z"}
    {"level":"info","message":"[ 'setAccessToken: Setting access token' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:22:52.110Z"}
    {"level":"info","message":"[ 'Get all entitlement groups' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:22:52.110Z"}
    {"level":"info","message":"[ 'Successfully received all entitlement groups details' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:22:52.125Z"}
    {"level":"info","message":"[ 'Received 0 entitlement groups' ]","moduleName":"LicensingSdkService","timestamp":"2022-01-17T15:22:52.125Z"}

     
  3. kingsznhone

    kingsznhone

    Joined:
    Nov 17, 2020
    Posts:
    4
    Fine. I'm done here. It's because of a http proxy exsist in my environment variables.
    Unity hub 3.0 have catastrophic error with http proxy.
     
  4. jnikaes_dualcat

    jnikaes_dualcat

    Joined:
    Jul 2, 2020
    Posts:
    6
    Hello,

    Having the same issue here since upgrading to MacOS Monterey.
    env | grep -i proxy

    Doesn't return anything, don't have any proxy in the environment.

    The error log returns something you also have in your logs:
    "Unhandled promise rejection, reason: Cannot read property 'includes' of undefined\n\tstack TypeError: Cannot read property 'includes' of undefined\n    at UnityLicenseCore.checkFlag


    Could you elaborate on how you got it to work? Or does anyone else encounters this and has a fix? Thanks
     
  5. kingsznhone

    kingsznhone

    Joined:
    Nov 17, 2020
    Posts:
    4
    Sorry, I don't have any MacOS device. It's sad to hear that.
    I'm using Windows 10. What I mentioned before is just about Windows Enviroment Variables.
    QQ截图20220121003335.png

     
  6. DarekRusin

    DarekRusin

    Joined:
    Nov 15, 2013
    Posts:
    45
    I'm on macOS Monterey, Apple Silicon M1, zsh and I seem to be having issues with terminal environment as well.

    First cocoapods complained of missing env variables. Curiously enough it started working once I copied them to .profile file (even though I'm using Z shell and .zprofile).

    But then resolving dependencies for Android started failing. "Gradle failed to fetch dependencies." and "Unable to determine which Android packages are installed." both because they're "Unable to locate a Java Runtime.". I'm using integrated Java so I'm not sure what to do here.

    And have an impression that it all started failing once Unity Hub 3 invited itself onto my machine If anyone figures out how to fix this I'm all ears!
     
  7. Takap_

    Takap_

    Joined:
    Dec 3, 2019
    Posts:
    1
    In the newly released Unity Hub 3.0.0, when HTTP_PROXY is specified as an environment variable in Windows environment When HTTP_PROXY is specified as an environment variable in the Windows environment, a black and empty screen appears and nothing can be done.

    I can't even revert to an older version. There is no workaround for this, and it is interfering with my work.

    I hope this will be fixed as soon as possible.
     
  8. Contrasan

    Contrasan

    Joined:
    Sep 18, 2019
    Posts:
    6
    Completely Broke Licensing in win 10 v3 and beta 7!!! unusable, neither activate in any way nor use the editor, completely broken and does not allow to work, you cannot even go back to version 2.4.5 because it is not allowed nor is there an official repository, same in beta 7
     
  9. MrLucid72

    MrLucid72

    Joined:
    Jan 12, 2016
    Posts:
    887
    Follow my philosophy: Never upgrade Hub. Ever. Even though there are endless bugs, they are "manageable" endless bugs. Just like Unity upgrades, they are never QA'd and always released in a pre-alpha-like state. Just don't upgrade anything relating to Unity unless you're going for a brand new project. Hub and all.

    I don't know what's up with Unity's QA team. I'm sure it's not the team, but more so mgmt crunching them to release poor updates. I wish Unity investors knew how stable their product actually is instead of crunching impossible deadlines (assuming that is the case). Maybe I can do some Google-Fu and actually reach out to them with a formal letter.
     
  10. Sailendu

    Sailendu

    Joined:
    Jul 23, 2009
    Posts:
    238
    My HUB upgraded to 3.0.0 automatically, I did not upgrade it. Now there is no option to go back and HUB 3.0.0 does not work properly. How did you not upgrade? Did your HUB not upgrade automatically?
     
  11. mrfreemen54

    mrfreemen54

    Joined:
    Feb 13, 2021
    Posts:
    1
    now my upgraded unity hub just in pitch black window every time I launch it