I’m guessing the issue is the client doesn’t have his system variable for Git assigned accordingly(although he tells me he has 5 years of git experience, so I’m unsure…)
It’s a Google Cardboard project, as such it depends on this package to work. Google Cardboard asks you to install it directly from the git URL, but I can’t be sure. Since this is my client’s computer causing the issue, I wonder if there’s anything I can do so this issue will not occur when he clones the project?
Well, I had to install it through a GIt URL. It’s installed on my end, but when my client simply cloned the project from Github he got this error when he added the project to unity hub
Google VR as it was known in 2019 LTS has been deprecated (also completely broken). It became an open source project and since then it has been converted to Google XR. However, Google XR is not a standard XR package available in the package manager. Like it is not in the scope of Unity’s package list.
If I read the error correctly, one of the packages your client uses has references to the “com.google.xr.cardboard” package name. However the current manifest.json file probably doesn’t contain any reference to the actual repository and thus giving you the error. It cannot find this package from the list Unity provides.
Hmm, the thing is I’ve already added this package. (I’m the one who made this project) And it’s in my manifest. I figured the issue was probably caused by my client’s Path variable not having a reference to Git in it, since you need to set that up to install packages via Git(mine wasn’t set up) but it’s just a guessing game.
PS I can open this project just fine, I even downloaded a zip from Github and added it fresh just to see if the issue would show up. Nope, only on my client’s side.
When git is not installed you should get a different error.
There’s also quite a difference between MacOS and Windows. I actually had to pull my repository on our mac mini yesterday. Boy did that give me a headache for the first few hours, fixing the system git (that hasn’t been updated since 2019). Had to do all sorts of commands in the terminal with homebrew to get it fixed.
Just check if git and git-lfs are installed properly.
“missing xcrun” might also suggest that xcode is missing the command line tools.
So check whether that is installed at all or maybe do a reinstall.
At this point it will indeed be a guessing game as to whats wrong.
If this problem reoccurs for anyone using Firebase Database, just delete the entire folder Editor/1.2.166 (or whichever version of Editor you choose to delete).