[FIXED] Mac OS Monterey Hub 3.3.0 Installation Issue

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/ @ /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/ @ /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/ @ /proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/ @ /proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/ @ /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/ @ /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/ @ /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/ @ /proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/ @ /proxy-helper/build/Release/libpcre2-8.0.dylib' (no such file), '/Applications/Unity Hub.app/Contents/Resources/app.asar.unpacked/node_modules/ @ /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/ @ /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 Likes

Thank you so Much… Its work

Thank you a lot! it’s work

Thank you so much <3