Replies
-
Hi @mob-sakai, thanks for creating many useful upm packages. I was being asked a few times for the editor integration. Certainly that’s on my todo list, but not my current focus. As I blogged on the pateron post that I will focus on the infrastructure of the service and contents instead. Another reason is that I’m not sure what is the most affordable way to implement it. There seems many options on the table. I will definitely learn a lot from you when I reach the point. I trend to keep this issue open for further conversation. |
Beta Was this translation helpful? Give feedback.
-
Hi @favoyang, it's been a long time. I succeeded in displaying any package info on the Package Manager UI! For example, the I know that we can get it with the following command:
But I am worried about server load... Thanks |
Beta Was this translation helpful? Give feedback.
-
Sounds great! Please checkout information below: To get package info The official way to get a package info (include unity and dependencies fields) is using the
To get package list info Unity Package Manager using the old
The endpoint can also return packages added since a timestamp. But you can ignore it for now. Refs
If you reply on the standard endpoint API of the npm protocol, then it can be used for any UPM registry. And you don't need worry about the server load for now. |
Beta Was this translation helpful? Give feedback.
-
Thank you! |
Beta Was this translation helpful? Give feedback.
-
WIP All packages in openupm can be displayed in UI. |
Beta Was this translation helpful? Give feedback.
-
Awesome! One question, can this solve custom dependencies automatically? For example
|
Beta Was this translation helpful? Give feedback.
-
Oh shoot, it totally slipped my mind! |
Beta Was this translation helpful? Give feedback.
-
@mob-sakai I realize this is a bit of an old issue and I'm not sure if you're still working on it. However, I was wondering if you're still working on this and how you achieved this :). I've been looking into things like this as well! |
Beta Was this translation helpful? Give feedback.
-
@Thundernerd A practical way to do this is to display Open UPM on the webview, as in the Asset Store. NOTE: openupm-cli requires node environment, but I believe it can be rebuilt to run on Unity built-in node. |
Beta Was this translation helpful? Give feedback.
-
OMG, WebView API on editor is gone in Unity 2020.1 or later. |
Beta Was this translation helpful? Give feedback.
-
Mmh. While that could've been a nice idea (well, not for 2020+) I'd like to have something more integrated into Packman. I've found my way in and around it a bit now so I can at least show a custom page for a custom registry :). |
Beta Was this translation helpful? Give feedback.
-
Because of the Unity terms changes: https://forum.unity.com/threads/updates-to-our-terms-of-service-and-new-package-guidelines.999940/ https://unity3d.com/legal/terms-of-service/software/package-guidelines
Any efforts that trying to create a lister UI of OpenUPM packages within the Unity Editor, would break the terms. But you can still download packages from the OpenUPM website as it is now. So unless Unity updates the terms or gives a new explanation, OpenUPM will not put more effort into this feature. |
Beta Was this translation helpful? Give feedback.
-
Hi @favoyang
First of all, thank you for starting this GREAT service.
Many Unity users will welcome your service!
I will work on developing an editor extension that displays packages published on openupm in the package window.
Thanks!
Beta Was this translation helpful? Give feedback.