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
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by











