Giter VIP home page Giter VIP logo

package2folder's People

Contributors

dmitriyyukhanov avatar goldface avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

package2folder's Issues

"es" is appended to selected import folder with package-based exports

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

Hope to support import asset from in Window/Package Manager/Import

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.