jeffcampbellmakesgames / Entitas-Redux

An entity-component framework for Unity with code generation and visual debugging
MIT License
104 stars 13 forks source link

[BUG] Unity Package Manager can't load Entitas-Redux #29

Closed TheHacky closed 3 years ago

TheHacky commented 3 years ago

Describe the bug When trying to add Entitas-Redux repo to Unity Package Manager it failed with an error.

Unity Version: Unity 2019.4.12f1

To Reproduce

  1. Open a project
  2. Open package manager
  3. add a new package by git URL (https://github.com/jeffcampbellmakesgames/entitasredux.git#release/stable)
  4. See error

    Cannot perform upm operation: Unable to add package [https://github.com/jeffcampbellmakesgames/entitasredux.git#release/stable]:
    Error when executing git command. fatal: could not read Username for 'https://github.com': terminal prompts disabled
    
    You may need to set up a Git credentials helper
    to access a private repository. [NotFound]

Expected behavior Entitas_Redux package can be loaded and installed.

Additional context The same occurs when directly typing it into manifest.json.

And as a little addition. It should also be possible to define a dependency for Unity Package Manager, isn't it? So that you don't have to manually install Genesis.

TheHacky commented 3 years ago

Okay. First issue solved. There is a '-' missing in the URL. https://github.com/jeffcampbellmakesgames/entitas-redux.git#release/stable

But then you got an error because of the path.


pathspec 'release/stable' did not match any file(s) known to git
TheHacky commented 3 years ago

Okay. In release is an additional 's' missing. https://github.com/jeffcampbellmakesgames/entitas-redux.git#releases/stable

I will create a PR for the readme.