[Package Manager Window] Error adding package:
Unable to add the package to Unity using the Package Manager and the git url
Please let me know which package you cannot add. TLabWebview and TLabVKeyborad are managed by submodule and it is automatically added when you run git submodule update --init, so you only need to add Meta XR SDK and XR Interaction Toolkit.
It’s the TLabWebViewVR. I couldn’t add it to the package manager in Unity. It says it’s something wrong with the package manifest
Currently I don't manage as package for folder TLabWebViewVR because it's just implementation example, and it's not using additional script. if you migrate prefab in your project, please try to use this script to download prefab from remote to your specific directory.
download meta xr webview prefab
curl -O https://github.com/TLabAltoh/TLabWebViewVR/blob/master/Assets/TLab/TLabWebViewVR/MetaXR/TLabWebView_MetaXR.prefab
curl -O https://github.com/TLabAltoh/TLabWebViewVR/blob/master/Assets/TLab/TLabWebViewVR/MetaXR/TLabWebView_MetaXR.prefab.meta
download xr interaction toolkit webview prefab
curl -O https://github.com/TLabAltoh/TLabWebViewVR/blob/master/Assets/TLab/TLabWebViewVR/XRInteractionToolkit/TLabWebView_XRInteractionToolkit.prefab
curl -O https://github.com/TLabAltoh/TLabWebViewVR/blob/master/Assets/TLab/TLabWebViewVR/XRInteractionToolkit/TLabWebView_XRInteractionToolkit.prefab.meta
Why are you doing things the difficult way? Everyone uses the Package Manager, it's so much easier. I'm still trying to figure out how to get these files in my project days later. I have the com.tlab.webview folder in my packages folder of my project but it is still not letting me import it
I have updated the repository to be able to import each module using the package manager. Please import using the url below. Only XR Interaction Toolkit has not been tested, so may be updated later.
| module / sample | url |
|---|---|
| TLabVKeyborad | https://github.com/TLabAltoh/TLabVKeyborad.git#upm |
| TLabWebView | https://github.com/TLabAltoh/TLabWebView.git#upm |
| Meta XR Sample | https://github.com/TLabAltoh/TLabWebViewVR.git?path=Assets/TLab/TLabWebViewVR/MetaXR#upm |
| XR Interaction Toolkit Sample | https://github.com/TLabAltoh/TLabWebViewVR.git?path=Assets/TLab/TLabWebViewVR/XRInteractionToolkit#upm |
It's true that my suggestion is not best practice. I will support the package manager not only for this repository, but for other sample repositories later on.
Nice work! I’ve finally got the files in my project. Couldn’t get the scene files to open though
I forgot to add support for Unity scenes, so I have updated the repository so that sample scenes can now be edited by importing them as samples. Also, the git url for the unity package manager has changed, so please add "#upm" for the preview git url. I have fixed the previous comment and the table of module git urls.