GitHub for Unity v1.1.0 does not initialize in projects.
Description
The first time the extension was loaded, it was unable to list the changes in the directory consistently. Mostly failed to detect change even if there were a lot of them.
Looking through the logs it says that the package commander was not found.
Steps to Reproduce
- Launch Unity with new empty project
- Open GitHub window
- Fails to initialize beyond showing the logo
Expected behavior: Initialization should be completed to make the Github window usable.
Actual behavior: Error message saying initialization failed.
Reproduces how often: Didn't work a single time.
Additional Information
Log:
github-unity.log github-unity-old.log
P.S. The log file contains a bit of logs for version
1.0.3as I switched back to it.
Hey @Rud156 thanks for the bug report. We have been working on how resources are extracted. Seems you've found a bug with that.
Also though, your username on your computer is Rockin'So. It just seems like a bad idea to have special characters in your username. That's bound to lead to some unpredictable behavior and bugs in a lot of programs.
https://xkcd.com/327/
I'm having the same problem. No special characters on my username.

Well that is egg on my face then... Can you upload a log file?
Same here with the initialization. github-unity.log
Same here. Although sometimes I get an initialization failed error and other times I just get a logo that won't stop spinning. Here are my logs: github-unity.log github-unity-old.log
I having the same issue, although for me it worked the first time I downloaded it and added the asset. So I was able to use it to set up the git repo. Every time after that though, no dice. Fails to initialize.
Hey guys, I have the problem isolated. I should have a new release for you guys on Monday. Thanks for hanging in there.

Good times...
@Rud156 @SanyaIV @ThomasAunvik @dwhit @NZnick @fariazz
I'd like to push out a fix today/tomorrow. If you guys are around I'd appreciate if someone could test this out for me.
Still spins forever. I can actually interact with the tabs and windows behind the spinning wheel though
@StanleyGoldman Still spins. Here is the latest log file if required.
Looks like its trying to find a module called package.json WOW!?? :confused:
Hey @Rud156 and @dwhit
Goto %LOCALAPPDATA%\GitHubUnity\ and delete the folder called octorun.
I ran into this with @SanyaIV and @ThomasAunvik in Discord and we figured it out.
It turns out that I need you to fix this part for me. The 🐛 created a path that is too long for me to manage to delete with Unity and Mono.
Let me know if that works.
that fixed it!
nice
Works for me!!! Thanks. I did have to delete the octorun folder myself though.
Yes. Works after deleting the octorun folder
I am a Mac user, and I think I have the same issue.
I managed to locate the octorun folder here:
/Users/
Should I blow that away as well? I am just asking because the fix that is mentioned is for Windows.
@cspears2002 Try it and see.
I just renamed octorun to octorun_old, and the plugin worked. It created a new octorun directory. Looks like I am good to go.