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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

How to make Export Package include ALL dependencies (shaders, cg.inc files, etc)

Discussion in 'Editor & General Support' started by eco_bach, Mar 29, 2017.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    wangyongcheng likes this.
  2. jtok4j

    jtok4j

    Joined:
    Dec 6, 2013
    Posts:
    320
    Hi,
    The solution to this, is to bend your mind around how the engine's export feature is made.
    Actually, there is a separate menu for selecting your desired asset (for exporting)'s dependencies.

    From the Project window: Right click on the asset you want to export. Choose "Select Dependencies" , you'll notice the window updates with a bunch of dependant files. Then right click again on one of these files and choose "Export Package".
    You'll see the export window load with every file in the project... now un-check" include dependencies, and you'll see the list update to include only the original asset and it's dependent files.

    Keep on Creating!
     
    Mikedegianthobbit likes this.
  3. Mikedegianthobbit

    Mikedegianthobbit

    Joined:
    Feb 6, 2022
    Posts:
    1
    WowWOW Thank you so much for this solution @jtok4j.
     
    jtok4j likes this.