26
2024
UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)

Just noticed that Unity Hub has builtin login dialog system hidden inside!
Steps
– Unpack your app.asar, see info https://github.com/unitycoder/UnityHubModding
– Open Unity Hub\resources\app\build\main\services\authService\AuthService.js
// Find lineif ((0, appDefaultProtocolClientHelpers_1.isUnityHubProtocolHandled)()) {
// replace with (to make this “if” be false, so that createLoginWindow gets called instead)if (1==0 && (0, appDefaultProtocolClientHelpers_1.isUnityHubProtocolHandled)()) {
Alternative way:
– If you cannot or don’t want to modify Unity Hub source, you need to delete/disable UnityHub: protocol from Registry Editor (then built-in sign in dialog will be used) *but this might have other side effects..
Related Posts
Leave a comment
Recent posts
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by











