Search Unity

Resolved [FIXED] Mac OS Monterey Hub 3.3.0 Installation Issue

Discussion in 'Unity Hub' started by givizator, Dec 1, 2022.

  1. givizator

    givizator

    Joined:
    Oct 23, 2018
    Posts:
    30
    Just for the record if someone needs it.

    Installed the hub on a fresh Monterey, the app dont crash but there is no window at all.

    Log is :

    ```
    {"timestamp":"2022-12-01T23:43:04.336Z","level":"error","message":"Unhandled promise rejection, reason: dlopen(/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/proxy-helper_mac.node, 0x0001): Library not loaded: '@rpath/libpcre2-8.0.dylib'\n Referenced from: '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libNativeProxyHelper.dylib'\n Reason: tried: '/usr/local/lib/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/MacOS/../Frameworks/libpcre2-8.0.dylib' (no such file), '/usr/lib/libpcre2-8.0.dylib' (no such file)\n\tstack Error: dlopen(/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/proxy-helper_mac.node, 0x0001): Library not loaded: '@rpath/libpcre2-8.0.dylib'\n Referenced from: '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libNativeProxyHelper.dylib'\n Reason: tried: '/usr/local/lib/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/@edt/proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/MacOS/../Frameworks/libpcre2-8.0.dylib' (no such file), '/usr/lib/libpcre2-8.0.dylib' (no such file)\n at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1846)\n at Object.Module._extensions..node (internal/modules/cjs/loader.js:1138:18)\n at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2073)\n at Module.load (internal/modules/cjs/loader.js:935:32)\n at Module._load (internal/modules/cjs/loader.js:776:14)\n at Function.f._load (electron/js2c/asar_bundle.js:5:12913)\n at Module.require (internal/modules/cjs/loader.js:959:19)\n at require (internal/modules/cjs/helpers.js:88:18)\n at Object.<anonymous> (/Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/@edt/proxy-helper/lib/binding.js:13:7)\n at Module._compile (internal/modules/cjs/loader.js:1078:30)"}
    ```

    Fixed by installing brew and then :

    ```
    brew install pcre2
    ```

    Hope that might save someone else some headache !
     
  2. Ehsan-Aziz

    Ehsan-Aziz

    Joined:
    Apr 25, 2017
    Posts:
    8
    Thank you so Much.... Its work
     
  3. biroroapp

    biroroapp

    Joined:
    Jan 24, 2020
    Posts:
    2
    Thank you a lot! it's work
     
  4. YabokuGaming

    YabokuGaming

    Joined:
    Sep 26, 2018
    Posts:
    1
    Thank you so much <3