Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Is there a way copy component's values to another unity project?

Discussion in 'Editor & General Support' started by leegod, Feb 3, 2021.

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,493
    Unity itself become so heavy and entering game mode take over 2-3 minutes,

    so I am making complete new project and move whole codes from previous project.

    Problem is, for scripts that exist on hierarchy, and its referenced variables,

    should I manually all references them all again?

    I can't use copy method [copy component] from previous gameobject to another project.

    Then other way? Make prefab and export method also will not work on hierarchy's referenced gameobject.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You could export the scene and all dependencies as a package. Import the package in the new project. This will likely bring in a bunch of stuff you're not interested in, so either uncheck boxes for stuff you don't want to import, or delete all the extras after the fact. Just an idea.
     
  3. john79

    john79

    Joined:
    Jul 13, 2016
    Posts:
    16
    this so unconfortable, i just need to copy values from one component to another between two editor instance. why unity doesn't allow it?
     
    insofan3156 likes this.
  4. insofan3156

    insofan3156

    Joined:
    Dec 11, 2021
    Posts:
    4
    I just wanna copy values to another project, why editor not allow do it.
     
    eventropy likes this.