github-for-unity / Unity

GitHub for Unity
https://unity.github.com/
MIT License
3.02k stars 448 forks source link

Unity 2020.3.21f1: Doesn't like my account #1156

Closed ACIDULATED closed 1 year ago

ACIDULATED commented 2 years ago

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.

NoCultist commented 2 years ago

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.

blockimperiumdao commented 2 years ago

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 :)

chantzish commented 2 years ago

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

shana commented 1 year ago

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.