Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Package Export (dependencies) broken ?

Discussion in 'Editor & General Support' started by Gruguir, Jun 10, 2015.

  1. Gruguir

    Gruguir

    Joined:
    Nov 30, 2010
    Posts:
    340
    When trying to export a package, for example, a scene or just a simple prefab, with include dependencies checked, the whole project is included... Am i the only one having this issue ? I'm about to send a bug report, but i'd like to be sure that's it is not a local problem.

    Edit : I should have wrote 'the whole project is selected'
     
    Last edited: Jun 12, 2015
  2. Gruguir

    Gruguir

    Joined:
    Nov 30, 2010
    Posts:
    340
    apparently sometime it works, most of the time it doesn't :confused:
     
  3. Gruguir

    Gruguir

    Joined:
    Nov 30, 2010
    Posts:
    340
    Bug report case 704171
    The workaround i've found is : select objects to export in the project folder, right click 'Select Dependencies', then 'Export Package...'
     
  4. Crashnorun

    Crashnorun

    Joined:
    Jul 30, 2015
    Posts:
    6
    Hi Gruguir,

    I'm running into the same issue. I've selected the prefab > right clicked > select dependencies > export package but it still exports the entire project. When I load the package into a new project it doesn't work. I've tried a number of times with blank files and nothing seems to work. Were you able to find a stable solution?
     
  5. Gruguir

    Gruguir

    Joined:
    Nov 30, 2010
    Posts:
    340
    No, and the bug report case is still open.
     
  6. CarterG81

    CarterG81

    Joined:
    Jul 25, 2013
    Posts:
    1,773
    Still having this issue 7/31/2016, with Unity 5.3.6f1.

    5.4 is too buggy to test in, but I feel safe assuming this still isn't fixed. So correct me if I'm wrong.

    Entire project is exported anytime I select "Select Dependencies" even though I'm just exporting a package I had just imported (relies on nothing but what's in a single folder that didn't exist prior).

    Thanks for the tip workaround guys!
     
    Last edited: Aug 1, 2016
  7. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,600
    Same issue still happening here in unity 2017.1.0.f3. Makes it very hard to integrate 2 games into one project.
     
    Gruguir and CarterG81 like this.
  8. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,600
    did manage to get by this kind of by selecting the scene file in the project window and doing right click-> select dependencies, then right click ->export package, it seemed to only export what I needed!..
     
    CarterG81 likes this.
  9. AmazingRuss

    AmazingRuss

    Joined:
    May 25, 2008
    Posts:
    933
    Still broken in 2017.3.1f1.
     
    CarterG81 likes this.
  10. Gruguir

    Gruguir

    Joined:
    Nov 30, 2010
    Posts:
    340
    i'm finished with bug reports :mad:
     
  11. animationprofessor

    animationprofessor

    Joined:
    Jul 9, 2017
    Posts:
    1
    What is the point of the feature if it doesn't re-assemble the project when you import? Are we suppose to re-attach all the assets manually then? When I used the export and import project feature, it was as if I was just re-doing the whole project again from the beginning for the most part. Is this just the way it was intended to work?
     
  12. Cookie042

    Cookie042

    Joined:
    Nov 25, 2013
    Posts:
    9
    Still broken in 2019.2...

    And the workaround still works...makes you wonder why they havn't fixed it if working code is intact but not being used when it should...

    And yes, i bumped a 4 year old thread...because it's still somehow relevant in 2019+

    Why the heck not just remove the checkbox if it doesnt work as intended and they have no intention of fixing it? it's tagged "Wont Fix" here: https://issuetracker.unity3d.com/is...spect-select-dependencies-includes-everything

    Soo, just remove the thing, less than a minute to remove this issue entirely. you could even make the intern do it!
     
    Last edited: Nov 23, 2019
    mekartikshah and CarterG81 like this.
  13. Antan

    Antan

    Joined:
    Jun 22, 2017
    Posts:
    5
    Yeah, the workaround works somewhat ok for me. Just to be clear, to export for example a prefab or a scene and everything related to it, as previously stated: select it in the project window, right click -> select dependencies, right click again -> export package. The "Exporting package" appears and will have the whole project selected, but only the previously selected items with dependencies and a bunch of random files are exported.

    Instead of exporting a few gigs, my export ended up being 6mb. Still, all of my scripts and a bunch of other things were included in the export.
     
    radiantboy likes this.
  14. MaxLohMusic

    MaxLohMusic

    Joined:
    Jan 17, 2022
    Posts:
    45
    What if I have the opposite issue where no dependencies get exported, ever, even when selecting "export with dependencies"?
     
    Knosis_Co-Verse likes this.