RealityStop / Bolt.Addons.Community

A community-driven project for extending Unity Bolt
MIT License
250 stars 34 forks source link

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

Open CG-Tespy opened 11 months ago

CG-Tespy commented 11 months ago

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

S2NX7 commented 11 months ago

Do you have Git installed on your pc?

S2NX7 commented 11 months ago

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

CG-Tespy commented 11 months ago

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