Bolt.Addons.Community icon indicating copy to clipboard operation
Bolt.Addons.Community copied to clipboard

[Solved] Error when executing git command. fatal: not in a git directory

Open CG-Tespy opened this issue 1 year ago • 3 comments

I tried installing this both manually and through the Package Manager, and each time, I received these errors:

[Package Manager Window] Error adding package: https://github.com/RealityStop/Bolt.Addons.Community.git. Unable to add package [https://github.com/RealityStop/Bolt.Addons.Community.git]: Error when executing git command. fatal: not in a git directory

An error occurred while resolving packages: Project has invalid dependencies: dev.bolt.addons: Error when executing git command. fatal: not in a git directory

If it helps, I'm using Unity 2022.3.9f1

CG-Tespy avatar Sep 21 '23 10:09 CG-Tespy

Do you have Git installed on your pc?

S2NX7 avatar Sep 21 '23 10:09 S2NX7

I tried installing this both manually and through the Package Manager, and each time, I received these errors:

[Package Manager Window] Error adding package: https://github.com/RealityStop/Bolt.Addons.Community.git. Unable to add package [https://github.com/RealityStop/Bolt.Addons.Community.git]: Error when executing git command. fatal: not in a git directory An error occurred while resolving packages: Project has invalid dependencies: dev.bolt.addons: Error when executing git command. fatal: not in a git directory

If it helps, I'm using Unity 2022.3.9f1

Make sure you use this link : https://github.com/RealityStop/Bolt.Addons.Community.git

S2NX7 avatar Sep 21 '23 10:09 S2NX7

Turns out that the error happened due to the file system the project was on: exFat. After formatting the hard drive to use NTFS, I was able to install this asset package just fine

CG-Tespy avatar Sep 25 '23 00:09 CG-Tespy