New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Enable package manager integration #66
Comments
this branch is for package manager, but I haven't update it yet to latest. if you have git installed in your system you can add it via git link, but if you don't have it installed you need to download the upm branch, unzip, and add it from disk (select package.json). |
"com.tayx.graphy": "https://github.com/Tayx94/graphy.git#upm" |
Note that the UPM currently doesn't work (it only works within Editor), as a build (e.g. PC) throws the following errors into console:
Of course, Graphy works properly if I import it from a master branch directly without using UPM. |
Which branch? |
I have not looked on my end yet, but last time I had an error like this it was because an assembly definition file was missing a reference. They need to be declared in the assembly definition otherwise they can't be seen. |
Oh you're probably right, I totally forgot about the Assembly Definition (it got out of my mind as everything seemed to work in the Editor). Could you be more specific about how to set it up? I added The |
It sounds like the editor assembly isn't properly configured and isn't set as editor only
Thanks,
Yusuf Ismail
On 13 Dec 2019 2:22 p.m., MostHated <notifications@github.com> wrote:
I have not looked on my end yet, but last time I had an error like this it was because an assembly definition file was missing a reference. They need to be declared in the assembly definition otherwise they can't be seen.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#66?email_source=notifications&email_token=ACXUCCKLJNE4VDN5NULZCT3QYOLD7A5CNFSM4I2UNSZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG2DMOI#issuecomment-565458489>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACXUCCOLB3VXUM5IEE2XRQLQYOLD7ANCNFSM4I2UNSZQ>.
|
I'll try to take a look at it later if I have time, but essentially your editor asmdef needs to reference the main graphy asmdef, but needs to be set as editor only in the included platforms
Thanks,
Yusuf Ismail
On 13 Dec 2019 2:48 p.m., scscgit <notifications@github.com> wrote:
Oh you're probably right, I totally forgot about the Assembly Definition (it got out of my mind as everything seemed to work in the Editor). Could you be more specific about how to set it up? I added Tayx.Graphy into Assembly Definition References, but it still says Assembly for Assembly Definition File 'Assets/graphy.asmdef' will not be compiled, because it has no scripts associated with it.
The upm branch was explicit, as I had to import https://github.com/Tayx94/graphy.git#upm directly using "+" > "Add package from git URL..." in Package Manager in Unity Editor 2019.3.0.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#66?email_source=notifications&email_token=ACXUCCNMR23F4QWCVUFZY53QYOODBA5CNFSM4I2UNSZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG2FUTQ#issuecomment-565467726>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACXUCCOJO6D6GMLXAN4FVU3QYOODBANCNFSM4I2UNSZQ>.
|
I had tried all combinations of |
@scscgit |
Confirmed, thanks, It would be nice if the UPM approach were also reflected in Readme (I like that the [Graphy] Prefab under |
Merged upm into master. |
I believe it should be pretty straight forward. Some info on what it takes to make it so people can just download this through the package manager can be found here.
https://gist.github.com/LotteMakesStuff/6e02e0ea303030517a071a1c81eb016e
The text was updated successfully, but these errors were encountered: