Search Unity

Bug Unity Hub Encountering Critical Error When Trying To Open

Discussion in 'Unity Hub' started by Thonos, Jun 18, 2022.

  1. Thonos

    Thonos

    Joined:
    Oct 27, 2021
    Posts:
    1
    Whenever I try to open unity hub, it says in encountered a critical error. I am using the latest version of the hub on Ubuntu 22.04. I followed all the instructions on the download page, so I'm not sure what's going wrong.

    Log file:
    Code (JavaScript):
    1. {"timestamp":"2022-06-18T18:06:36.285Z","level":"info","moduleName":"App","message":"[ 'Checking arguments for Windows custom URI scheme' ]"}
    2. {"timestamp":"2022-06-18T18:06:36.286Z","level":"info","moduleName":"App","message":"[ 'No custom URI argument found' ]"}
    3. {"timestamp":"2022-06-18T18:06:36.292Z","level":"info","moduleName":"SystemInfo","message":"[ 'Hub version: 3.1.2' ]"}
    4. {"timestamp":"2022-06-18T18:06:36.293Z","level":"info","moduleName":"SystemInfo","message":"[ 'Hub path: undefined' ]"}
    5. {"timestamp":"2022-06-18T18:06:36.312Z","level":"info","moduleName":"SystemInfo","message":"[\n  'Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz; Linux (5.15.0-37-generic)'\n]"}
    6. {"timestamp":"2022-06-18T18:06:36.355Z","level":"info","moduleName":"HubSettings","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: '/usr/share/unity3d/config'\n  }\n]"}
    7. {"timestamp":"2022-06-18T18:06:36.356Z","level":"info","moduleName":"CloudConfig","message":"[\n  'Cloud Config endpoint: https://public-cdn.cloud.unity3d.com/config/production'\n]"}
    8. {"timestamp":"2022-06-18T18:06:36.630Z","level":"info","moduleName":"LocalConfig","message":"[\n  'Local Config endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/hubConfig.json'\n]"}
    9. {"timestamp":"2022-06-18T18:06:36.639Z","level":"info","moduleName":"TokenManager","message":"[ 'Init' ]"}
    10. {"timestamp":"2022-06-18T18:06:36.672Z","level":"warn","moduleName":"TokenManager","message":"[\n  'Token storage is corrupted.',\n  TypeError\n      at TokenManager.<anonymous> (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:104:23)\n      at Generator.next (<anonymous>)\n      at /opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:7:71\n      at new Promise (<anonymous>)\n      at __awaiter (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:3:12)\n      at TokenManager.storeTokens (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:102:16)\n      at TokenManager.<anonymous> (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:55:32)\n      at Generator.next (<anonymous>)\n      at fulfilled (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:4:58)\n]"}
    11. {"timestamp":"2022-06-18T18:06:36.673Z","level":"info","moduleName":"TokenManager","message":"[ 'Done init' ]"}
    12. {"timestamp":"2022-06-18T18:06:36.674Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  'licensingClientPath: /opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client'\n]"}
    13. {"timestamp":"2022-06-18T18:06:36.674Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Licensing SDK version: v1.6.2' ]"}
    14. {"timestamp":"2022-06-18T18:06:36.674Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'connect: Connecting to Licensing Client IPC channel' ]"}
    15. {"timestamp":"2022-06-18T18:06:36.675Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Trying to connect to existing primary pipe (if any)...' ]"}
    16. {"timestamp":"2022-06-18T18:06:36.676Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Trying to connect on pipe /tmp/Unity-LicenseClient-codenijas.sock' ]"}
    17. {"timestamp":"2022-06-18T18:06:36.704Z","level":"warn","moduleName":"LicensingSdkService","message":"[ 'Lost IPC connection to Licensing Client' ]"}
    18. {"timestamp":"2022-06-18T18:06:36.704Z","level":"warn","moduleName":"LicensingSdkService","message":"[ 'Failed with ipc error type: PipeIsNotOpen, pid: undefined' ]"}
    19. {"timestamp":"2022-06-18T18:06:36.705Z","level":"error","moduleName":"LicensingSdkService","message":"[\n  \"Failed to connect to pipe: 'Unity-LicenseClient-codenijas, pid: undefined'\"\n]"}
    20. {"timestamp":"2022-06-18T18:06:36.705Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'tryKillClientProcess: No client process initialized' ]"}
    21. {"timestamp":"2022-06-18T18:06:36.705Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  'Launching Licensing Client from /opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client...'\n]"}
    22. {"timestamp":"2022-06-18T18:06:36.706Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  \"Launching on pipe: 'Unity-LicenseClient-codenijas' in environment: 'production'\"\n]"}
    23. {"timestamp":"2022-06-18T18:06:37.022Z","level":"error","moduleName":"LicensingSdkService","message":"[ 'stderr: No usable version of libssl was found\\n' ]"}
    24. {"timestamp":"2022-06-18T18:06:38.336Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Process exited with code null' ]"}
    25. {"timestamp":"2022-06-18T18:06:38.337Z","level":"error","moduleName":"LicensingSdkService","message":"[\n  'Failed to launch licensing client: Error: exit code: null, pid: 3079'\n]"}
    26. {"timestamp":"2022-06-18T18:06:38.337Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Killing process with pid: 3079' ]"}
    27. {"timestamp":"2022-06-18T18:06:38.337Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  'Launching Licensing Client from /opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client...'\n]"}
    28. {"timestamp":"2022-06-18T18:06:38.337Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  \"Launching on pipe: 'Unity-LicenseClient-an7AoBlBHtMoYqI7rM79B' in environment: 'production'\"\n]"}
    29. {"timestamp":"2022-06-18T18:06:38.731Z","level":"error","moduleName":"LicensingSdkService","message":"[ 'stderr: No usable version of libssl was found\\n' ]"}
    30. {"timestamp":"2022-06-18T18:06:38.962Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Process exited with code null' ]"}
    31. {"timestamp":"2022-06-18T18:06:38.963Z","level":"error","moduleName":"LicensingSdkService","message":"[\n  'Failed to launch licensing client: Error: exit code: null, pid: 3120'\n]"}
    32. {"timestamp":"2022-06-18T18:06:38.963Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Killing process with pid: 3120' ]"}
    33. {"timestamp":"2022-06-18T18:06:38.963Z","level":"info","moduleName":"Authentification Service","message":"[ 'Initializing the auth service' ]"}
    34. {"timestamp":"2022-06-18T18:06:38.964Z","level":"info","moduleName":"Authentification Service","message":"[ 'Logging out' ]"}
    35. {"timestamp":"2022-06-18T18:06:38.966Z","level":"info","moduleName":"CloudAnalytics","message":"[ 'Init' ]"}
    36. {"timestamp":"2022-06-18T18:07:38.492Z","level":"error","moduleName":"App","message":"[\n  'Failed to start Unity Hub, reason: ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms'\n]"}
    37. {"timestamp":"2022-06-18T18:07:38.493Z","level":"error","moduleName":"App","message":"[\n  'ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms\\n' +\n    '    at Function.fromType (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:47:16)\\n' +\n    '    at LicensingIpc.waitForConnection (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:114:147)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/licensingSdk.js:64:37)\\n' +\n    '    at LicensingSdk.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:113:86)\\n' +\n    '    at Generator.next (<anonymous>)\\n' +\n    '    at /opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:27:71\\n' +\n    '    at new Promise (<anonymous>)\\n' +\n    '    at __awaiter (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:23:12)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:112:16)\\n' +\n    '    at CloudAnalytics.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/cloudAnalytics/cloudAnalytics.js:101:56)'\n]"}
    38. {"timestamp":"2022-06-18T18:07:38.493Z","level":"error","moduleName":"ErrorBox","message":"[\n  'Timeout! Cannot connect to Licensing Client within 60000ms\\n' +\n    'ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms\\n' +\n    '    at Function.fromType (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:47:16)\\n' +\n    '    at LicensingIpc.waitForConnection (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:114:147)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/licensingSdk.js:64:37)\\n' +\n    '    at LicensingSdk.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:113:86)\\n' +\n    '    at Generator.next (<anonymous>)\\n' +\n    '    at /opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:27:71\\n' +\n    '    at new Promise (<anonymous>)\\n' +\n    '    at __awaiter (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:23:12)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:112:16)\\n' +\n    '    at CloudAnalytics.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/cloudAnalytics/cloudAnalytics.js:101:56)'\n]"}
    39. {"timestamp":"2022-06-18T18:18:27.027Z","level":"info","moduleName":"App","message":"[ 'Checking arguments for Windows custom URI scheme' ]"}
    40. {"timestamp":"2022-06-18T18:18:27.028Z","level":"info","moduleName":"App","message":"[ 'No custom URI argument found' ]"}
    41. {"timestamp":"2022-06-18T18:18:27.031Z","level":"info","moduleName":"SystemInfo","message":"[ 'Hub version: 3.1.2' ]"}
    42. {"timestamp":"2022-06-18T18:18:27.031Z","level":"info","moduleName":"SystemInfo","message":"[ 'Hub path: undefined' ]"}
    43. {"timestamp":"2022-06-18T18:18:27.052Z","level":"info","moduleName":"SystemInfo","message":"[\n  'Intel(R) Core(TM) i3-8130U CPU @ 2.20GHz; Linux (5.15.0-37-generic)'\n]"}
    44. {"timestamp":"2022-06-18T18:18:27.066Z","level":"info","moduleName":"HubSettings","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: '/usr/share/unity3d/config'\n  }\n]"}
    45. {"timestamp":"2022-06-18T18:18:27.066Z","level":"info","moduleName":"CloudConfig","message":"[\n  'Cloud Config endpoint: https://public-cdn.cloud.unity3d.com/config/production'\n]"}
    46. {"timestamp":"2022-06-18T18:18:27.563Z","level":"info","moduleName":"LocalConfig","message":"[\n  'Local Config endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/hubConfig.json'\n]"}
    47. {"timestamp":"2022-06-18T18:18:27.572Z","level":"info","moduleName":"TokenManager","message":"[ 'Init' ]"}
    48. {"timestamp":"2022-06-18T18:18:27.608Z","level":"warn","moduleName":"TokenManager","message":"[\n  'Token storage is corrupted.',\n  TypeError\n      at TokenManager.<anonymous> (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:104:23)\n      at Generator.next (<anonymous>)\n      at /opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:7:71\n      at new Promise (<anonymous>)\n      at __awaiter (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:3:12)\n      at TokenManager.storeTokens (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:102:16)\n      at TokenManager.<anonymous> (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:55:32)\n      at Generator.next (<anonymous>)\n      at fulfilled (/opt/unityhub/resources/app.asar/build/main/tokenManager/tokenManager.js:4:58)\n]"}
    49. {"timestamp":"2022-06-18T18:18:27.608Z","level":"info","moduleName":"TokenManager","message":"[ 'Done init' ]"}
    50. {"timestamp":"2022-06-18T18:18:27.609Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  'licensingClientPath: /opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client'\n]"}
    51. {"timestamp":"2022-06-18T18:18:27.609Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Licensing SDK version: v1.6.2' ]"}
    52. {"timestamp":"2022-06-18T18:18:27.609Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'connect: Connecting to Licensing Client IPC channel' ]"}
    53. {"timestamp":"2022-06-18T18:18:27.610Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Trying to connect to existing primary pipe (if any)...' ]"}
    54. {"timestamp":"2022-06-18T18:18:27.611Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Trying to connect on pipe /tmp/Unity-LicenseClient-codenijas.sock' ]"}
    55. {"timestamp":"2022-06-18T18:18:27.613Z","level":"warn","moduleName":"LicensingSdkService","message":"[ 'Lost IPC connection to Licensing Client' ]"}
    56. {"timestamp":"2022-06-18T18:18:27.614Z","level":"warn","moduleName":"LicensingSdkService","message":"[ 'Failed with ipc error type: PipeIsNotOpen, pid: undefined' ]"}
    57. {"timestamp":"2022-06-18T18:18:27.614Z","level":"error","moduleName":"LicensingSdkService","message":"[\n  \"Failed to connect to pipe: 'Unity-LicenseClient-codenijas, pid: undefined'\"\n]"}
    58. {"timestamp":"2022-06-18T18:18:27.614Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'tryKillClientProcess: No client process initialized' ]"}
    59. {"timestamp":"2022-06-18T18:18:27.614Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  'Launching Licensing Client from /opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client...'\n]"}
    60. {"timestamp":"2022-06-18T18:18:27.614Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  \"Launching on pipe: 'Unity-LicenseClient-codenijas' in environment: 'production'\"\n]"}
    61. {"timestamp":"2022-06-18T18:18:27.896Z","level":"error","moduleName":"LicensingSdkService","message":"[ 'stderr: No usable version of libssl was found\\n' ]"}
    62. {"timestamp":"2022-06-18T18:18:27.994Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Process exited with code null' ]"}
    63. {"timestamp":"2022-06-18T18:18:27.995Z","level":"error","moduleName":"LicensingSdkService","message":"[\n  'Failed to launch licensing client: Error: exit code: null, pid: 10519'\n]"}
    64. {"timestamp":"2022-06-18T18:18:27.995Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Killing process with pid: 10519' ]"}
    65. {"timestamp":"2022-06-18T18:18:27.995Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  'Launching Licensing Client from /opt/unityhub/UnityLicensingClient_V1/Unity.Licensing.Client...'\n]"}
    66. {"timestamp":"2022-06-18T18:18:27.995Z","level":"info","moduleName":"LicensingSdkService","message":"[\n  \"Launching on pipe: 'Unity-LicenseClient-1Kfz4QJRLHphBRCE6X3th' in environment: 'production'\"\n]"}
    67. {"timestamp":"2022-06-18T18:18:28.144Z","level":"error","moduleName":"LicensingSdkService","message":"[ 'stderr: No usable version of libssl was found\\n' ]"}
    68. {"timestamp":"2022-06-18T18:18:28.262Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Process exited with code null' ]"}
    69. {"timestamp":"2022-06-18T18:18:28.264Z","level":"error","moduleName":"LicensingSdkService","message":"[\n  'Failed to launch licensing client: Error: exit code: null, pid: 10533'\n]"}
    70. {"timestamp":"2022-06-18T18:18:28.264Z","level":"info","moduleName":"LicensingSdkService","message":"[ 'Killing process with pid: 10533' ]"}
    71. {"timestamp":"2022-06-18T18:18:28.264Z","level":"info","moduleName":"Authentification Service","message":"[ 'Initializing the auth service' ]"}
    72. {"timestamp":"2022-06-18T18:18:28.264Z","level":"info","moduleName":"Authentification Service","message":"[ 'Logging out' ]"}
    73. {"timestamp":"2022-06-18T18:18:28.266Z","level":"info","moduleName":"CloudAnalytics","message":"[ 'Init' ]"}
    74. {"timestamp":"2022-06-18T18:19:28.267Z","level":"error","moduleName":"App","message":"[\n  'Failed to start Unity Hub, reason: ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms'\n]"}
    75. {"timestamp":"2022-06-18T18:19:28.268Z","level":"error","moduleName":"App","message":"[\n  'ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms\\n' +\n    '    at Function.fromType (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:47:16)\\n' +\n    '    at LicensingIpc.waitForConnection (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:114:147)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/licensingSdk.js:64:37)\\n' +\n    '    at LicensingSdk.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:113:86)\\n' +\n    '    at Generator.next (<anonymous>)\\n' +\n    '    at /opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:27:71\\n' +\n    '    at new Promise (<anonymous>)\\n' +\n    '    at __awaiter (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:23:12)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:112:16)\\n' +\n    '    at CloudAnalytics.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/cloudAnalytics/cloudAnalytics.js:101:56)'\n]"}
    76. {"timestamp":"2022-06-18T18:19:28.268Z","level":"error","moduleName":"ErrorBox","message":"[\n  'Timeout! Cannot connect to Licensing Client within 60000ms\\n' +\n    'ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms\\n' +\n    '    at Function.fromType (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:47:16)\\n' +\n    '    at LicensingIpc.waitForConnection (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:114:147)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/licensingSdk.js:64:37)\\n' +\n    '    at LicensingSdk.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:113:86)\\n' +\n    '    at Generator.next (<anonymous>)\\n' +\n    '    at /opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:27:71\\n' +\n    '    at new Promise (<anonymous>)\\n' +\n    '    at __awaiter (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:23:12)\\n' +\n    '    at LicensingSdk.getMachineId (/opt/unityhub/resources/app.asar/build/main/services/licenseService/licensingSdk.js:112:16)\\n' +\n    '    at CloudAnalytics.<anonymous> (/opt/unityhub/resources/app.asar/build/main/services/cloudAnalytics/cloudAnalytics.js:101:56)'\n]"}