Hi,
I’m trying to get the google Cardboard SDK for unity sample working, instructions here:
unity version 2020.1.13f1 personal
First,
I’ve installed Git and added Environment variables path.
C:\Program Files\Git\git.exe
C:\Program Files\Git\cmd
restarted unity
“add package from git url”:
(error)
Cannot perform upm operation: Unable to add package [GitHub - googlevr/cardboard-xr-plugin: Google Cardboard XR Plugin for Unity]:
No ‘git’ executable was found. Please install Git on your system then restart Unity and Unity Hub [NotFound].See console for more details
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Second (This should work the same right?)
unable to get the git from url working, I downloaded the package to a folder,
“add package from disk”
It does load up the package, but with this error:
Cardboard XR Plugin package Initialization not completed. You will need to create any instances of the loaders and settings manually before you can use the intended XR Plug-in Package.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
I followed all other instructions in the link, everything else works and deploys the app without error, but it black screen crashes unless you disable
project settings>XR plug in management > initialize XR on startup
…so basically im having problems with that package initialization when first imported…and i’m unsure if getting the package from “git from url” would make a difference or not
[update]
ok first, I did have the environmental variables wrong, corrected them, still wouldn’t work.
full cpu restart and git works now. Variables were:
C:\Program Files\Git\bin\git.exe
C:\Program Files\Git\cmd
But same problem
Cardboard XR Plugin package Initialization not completed.
[edit]
that error (actually it was a warning) wasn’t the problem:
saga ends here: