-
Notifications
You must be signed in to change notification settings - Fork 329
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
Option to install in /Packages/NuGetAssets #618
Conversation
Thank you for your effort but I don't think we can accept this pull request. Disregarding all the formatting errors and a bit strange implementation of property in UnityPathHelper I think this would clash with a functionality we already have. You see if the package that is being installed contains a Also there is not much sense in managed packages that are not used within Unity with NugetForUnity. Are you sure you can't just use the existing |
Can you please explain your use case? Why do you need this and how would it be useful in your project? |
Simply because my acquaintance and I are disturbed that |
But I don't understand what is the point of installing packages for Unity in a folder where Unity will not see them and will not be able to use them? I tried just moving my existing packages to that folder and I just got a lot of compile errors. As far as I know Unity can only see packages that are specified in its Packages/manifest.json file from that folder. |
My implementation generates package.json and Unity recognizes them successfully. |
You can see #618 (comment) , how it actually works. |
Ah, ok. I investigated it a bit more and I now understand how is this supposed to work. There are still a few more cases that needs to be handled, like a use case where users want to gitignore the folder where the packages are installed but still have everything resolve automatically after Unity start and I think some path handling will not be correct as it is. I'll try to find some time to go through this, maybe create a separate pull requests where I try to cover all the cases... |
I opened a pull request #619 where I tried to cover this. Can you please review if that is it and tell me if you are ok that we go with that pull request instead of this one. |
Add an option to install not to Assets Folder but, Packages/NuGetAssets Folder