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 signin dialog will be used)
Related Posts
Leave a comment
Recent posts
- 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
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)