Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

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

Description

@Rud156

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.

Activity

  1. StanleyGoldman commented on Oct 15, 2018

    @StanleyGoldman
    Contributor

    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/

  2. fariazz commented on Oct 17, 2018

    @fariazz

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

    image

  3. StanleyGoldman commented on Oct 17, 2018

    @StanleyGoldman
    Contributor

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

  4. SanyaIV commented on Oct 17, 2018

    @SanyaIV

    Same here with the initialization.
    github-unity.log

  5. NZnick commented on Oct 18, 2018

    @NZnick

    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

  6. ThomasAunvik commented on Oct 18, 2018

    @ThomasAunvik

    Throws more 🥚

    github-unity.log

  7. dwhit commented on Oct 19, 2018

    @dwhit

    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.

  8. StanleyGoldman commented on Oct 19, 2018

    @StanleyGoldman
    Contributor

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

  9. StanleyGoldman commented on Oct 19, 2018

    @StanleyGoldman
    Contributor

    image

    Good times...

  10. StanleyGoldman commented on Oct 22, 2018

    @StanleyGoldman
    Contributor

    @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

  11. dwhit commented on Oct 22, 2018

    @dwhit

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

  12. Rud156 commented on Oct 22, 2018

    @Rud156
    Author

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

    github-unity.log

  13. StanleyGoldman commented on Oct 22, 2018

    @StanleyGoldman
    Contributor

    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.

  14. dwhit commented on Oct 22, 2018

    @dwhit

    that fixed it!

  15. StanleyGoldman commented on Oct 22, 2018

    @StanleyGoldman
    Contributor

    nice

  16. NZnick commented on Oct 22, 2018

    @NZnick

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

  17. Rud156 commented on Oct 23, 2018

    @Rud156
    Author

    Yes. Works after deleting the octorun folder

  18. cspears2002 commented on Dec 2, 2018

    @cspears2002

    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.

  19. Rud156 commented on Dec 2, 2018

    @Rud156
    Author

    @cspears2002 Try it and see.

  20. cspears2002 commented on Dec 2, 2018

    @cspears2002

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

  21. Rud156 commented on Dec 2, 2018

    @Rud156
    Author

    @cspears2002 Just delete the old octorun folder, that contains a huge nested path. Not exactly required

  22. StanleyGoldman commented on Dec 3, 2018

    @StanleyGoldman
    Contributor

    @cspears2002 I'm glad you got it working.
    @Rud156 Thanks for answering his question.

  23. BlackRainbow-Studio commented on Aug 6, 2021

    @BlackRainbow-Studio

    Still the same problem in 2021. But solution by StanleyGoldman helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions