code-stage / package2folder Goto Github PK
View Code? Open in Web Editor NEWAllows to import Unity packages into specified folder to avoid your project's root bloating.
License: Mozilla Public License 2.0
Allows to import Unity packages into specified folder to avoid your project's root bloating.
License: Mozilla Public License 2.0
Hello!
Downloaded and import, got new "Here" option in "Import" menu, but it's grayed.
There are no errors in console.
Hi, thanks for this asset. When exporting packages using the -exportPackage command line argument to the unity editor, and using that to export from a directory in the ProjectRoot/Packages/SomePackage folder, upon import Package2Folder believes the selected "import here" directory should have an extra -es on the end.
I realize exporting from the Packages folder is probably out of band and maybe making a malformed .unityPackage. And its pretty easy to just move the contents after import. But it can lead to some confusion as the contents won't show up when importing to the root Assets folder!
I'm including one such .unitypackage
AUTOEXPORT.zip
Here also are some repro steps
Import the package authoring library by going to package manager, click + sign, Add package from Git URL, com.unity.upm.develop
Create a package named Test
Quit out of Unity
Open the Unity Hub
Click the three dots to the right of the test project
Click Advanced Project Settings
Add a command line argument to export a directory inside the package you just created
In my case I used
-exportPackage packages/com.vestigial.test/runtime AUTOEXPORT.unityPackage
Click "Done"
Reopen the project, the AUTOEXPORT package gets created at the project root
Remove the Test package (to allow the files to be imported, and not "nothing new to import")
Use Package2Folder "Import here" to import the AutoExport package to the ProjectRoot/Assets folder
Notice the contents are actually imported to ProjectRoot/Assetses folder which is not visible to the unity assets system!
This also applies to importing to folders like Assets/Middle, it will import to Assets/Middlees
I'm sorry for forgetting to reply for so long. Currently, it seems that only a local .unitypackage file can be supported by dragging it into the Import Asset window. However, I usually import resources from Window/Package Manager/Import. In this case, I cannot specify the import path. Is there any plan to support this situation?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.