Voltstro-Studios / UnityWebBrowser

Unity Web Browser (UWB) is a Unity package that allows displaying and interacting with the web from within Unity.
https://projects.voltstro.dev/UnityWebBrowser/latest/
MIT License
330 stars 49 forks source link

[Issue] UnityWebBrowser package not found when adding the scoped registries #279

Closed M0rph3v5 closed 7 months ago

M0rph3v5 commented 9 months ago

What platform are you experiencing this issue on?

MacOS

What architecture is your platform?

Other

What version of UWB are you using?

Github Master Branch

What Unity version are you running?

2022.3.18f1

Describe what the issue you are experiencing is.

image

inserted all packages from documentation, unitywebbrowser package is not visible, not when searched, added by name or anything.

Provide reproducible steps for this issue.

  1. I added the scoped registrys
  2. Looked for webbrowser package
  3. Did not find it

Any additional info you like to provide?

No response

Voltstro commented 9 months ago

You say 'Github Master Branch' as your version, so you are using the local UWB dev project? But then you say the UWB is not appearing in the list, which is not possible using that project. So I'll assume your using VoltstroUPM. I don't know why its not appearing, but you can add it manually by clicking the plus icon, then 'add by name', then typedev.voltstro.unitywebbrowser.

Also we don't support MacOS.

M0rph3v5 commented 9 months ago

ah yeah my bad. I'm using the VolstroUPM.

I tried adding by name which results into an error about not finding the package

M0rph3v5 commented 9 months ago

I'll check if I can get it to work on windows

M0rph3v5 commented 9 months ago

the packages showed up when changing the url to something else and then back, they now showed up. image

but now this error appears

Voltstro commented 8 months ago

Hmm odd. Looks like you might of not setup VoltstroUPM correctly.

If you open your project's Packages/manifest.json file, it should look like this:

{
  "dependencies": {
    ...
    "dev.voltstro.unitywebbrowser": "2.0.2",
    "dev.voltstro.unitywebbrowser.engine.cef": "2.0.2-113.3.1",
    "dev.voltstro.unitywebbrowser.engine.cef.win.x64": "2.0.2-113.3.1",
    ...
  },
  "scopedRegistries": [
    {
      "name": "Voltstro UPM",
      "url": "https://upm-pkgs.voltstro.dev",
      "scopes": [
        "org.nuget",
        "dev.voltstro",
        "com.cysharp.unitask"
      ]
    }
  ]
}
Voltstro commented 7 months ago

No response in over a month, closing.