Unity icon indicating copy to clipboard operation
Unity copied to clipboard

GitHub for Unity v1.1.0 does not initialize in projects.

Open Rud156 opened this issue 8 years ago • 23 comments

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

  1. Launch Unity with new empty project
  2. Open GitHub window
  3. 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.3 as I switched back to it.

Rud156 avatar Oct 14 '18 02:10 Rud156

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/ https://xkcd.com/327/

StanleyGoldman avatar Oct 15 '18 12:10 StanleyGoldman

I'm having the same problem. No special characters on my username.

image

fariazz avatar Oct 17 '18 06:10 fariazz

Well that is egg on my face then... Can you upload a log file?

StanleyGoldman avatar Oct 17 '18 09:10 StanleyGoldman

Same here with the initialization. github-unity.log

SanyaIV avatar Oct 17 '18 11:10 SanyaIV

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

NZnick avatar Oct 18 '18 03:10 NZnick

Throws more 🥚

github-unity.log

ThomasAunvik avatar Oct 18 '18 07:10 ThomasAunvik

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.

dwhit avatar Oct 19 '18 02:10 dwhit

Hey guys, I have the problem isolated. I should have a new release for you guys on Monday. Thanks for hanging in there.

StanleyGoldman avatar Oct 19 '18 21:10 StanleyGoldman

image

Good times...

StanleyGoldman avatar Oct 19 '18 21:10 StanleyGoldman

@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.

github-for-unity-1.1.1.5025-9223adea.unitypackage.zip

StanleyGoldman avatar Oct 22 '18 13:10 StanleyGoldman

Still spins forever. I can actually interact with the tabs and windows behind the spinning wheel though

dwhit avatar Oct 22 '18 16:10 dwhit

@StanleyGoldman Still spins. Here is the latest log file if required. Looks like its trying to find a module called package.json WOW!?? :confused:

github-unity.log

Rud156 avatar Oct 22 '18 16:10 Rud156

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.

StanleyGoldman avatar Oct 22 '18 16:10 StanleyGoldman

that fixed it!

dwhit avatar Oct 22 '18 17:10 dwhit

nice

StanleyGoldman avatar Oct 22 '18 18:10 StanleyGoldman

Works for me!!! Thanks. I did have to delete the octorun folder myself though.

NZnick avatar Oct 22 '18 23:10 NZnick

Yes. Works after deleting the octorun folder

Rud156 avatar Oct 23 '18 14:10 Rud156

I am a Mac user, and I think I have the same issue.

github-unity.log

I managed to locate the octorun folder here:

/Users//Library/Application Support/GitHubUnity

Should I blow that away as well? I am just asking because the fix that is mentioned is for Windows.

cspears2002 avatar Dec 02 '18 01:12 cspears2002

@cspears2002 Try it and see.

Rud156 avatar Dec 02 '18 02:12 Rud156

I just renamed octorun to octorun_old, and the plugin worked. It created a new octorun directory. Looks like I am good to go.

cspears2002 avatar Dec 02 '18 02:12 cspears2002