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
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on