Unity icon indicating copy to clipboard operation
Unity copied to clipboard

Unity 2020.3.21f1: Doesn't like my account

Open ACIDULATED opened this issue 3 years ago • 3 comments

github-unity.log

Prerequisites

Install Unity 2020.3.21f1. Install github for unity.

Description

It keeps asking me to log in, even after I DID log in. Also, when I try to log in through the sign in above the repository stuff, it says "not found".

Steps to Reproduce

  1. Log in.
  2. Go to another window.
  3. Come back.

Expected behavior: Nothing.

Actual behavior: Another log-in window, even though I already did.

Reproduces how often: Alot.

ACIDULATED avatar Nov 05 '21 11:11 ACIDULATED

Had the same problem, solved it by setting up a repository from Github Desktop and then restarting the Unity project. The plugin is just unable to sign in but if you sign in from Github Desktop it somehow works.

NoCultist avatar Nov 12 '21 21:11 NoCultist

Tried from Github Desktop on Windows and it doesn't really resolve the issue. I have icons next to everything, but it still won't let me sign in. Maybe that's a sign to just move on :)

blockimperiumdao avatar Nov 19 '21 02:11 blockimperiumdao

I've submited a pull request with a fix https://github.com/github-for-unity/Unity/pull/1160 but it doesn't look like they are going to merge it anytime soon so you can just fix it manually.

replace line 16: type: "oauth" with: type: "token"

in %userprofile%\AppData\Local\GitHubUnity\octorun\src\api.js

chantzish avatar Jan 13 '22 18:01 chantzish

This project is not maintained anymore. The replacement is Git for Unity, at https://github.com/spoiledcat/git-for-unity. If you have GitHub for Unity in your project, remove it first and then install the Git for Unity package, see the README in the link for instructions.

shana avatar Oct 19 '22 17:10 shana