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

can i open 2 project windows in the same project?

Discussion in 'Editor & General Support' started by steveh2112, Jan 21, 2020.

  1. steveh2112

    steveh2112

    Joined:
    Aug 30, 2015
    Posts:
    314
    i'm moving a lots of assets around and it would be handy to have a second project window open to drag and drop between, but if i go window-general-project, and i have one open already, nothing happens.

    to be clear, i mean in only one open project

    thx
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,594
    Why not simply use explorer, or similar, to copy/move folders?
     
  3. SisusCo

    SisusCo

    Joined:
    Jan 29, 2019
    Posts:
    1,135
    You can open multiple instances of the Project window using the Add Tab menu item in the EditorWindow context menu.

    opening-two-project-views.png
     
  4. steveh2112

    steveh2112

    Joined:
    Aug 30, 2015
    Posts:
    314
    i think that will screw up all the dependencies right? i'm moving textures, materials, that kind of thing. i assumed you would have to do it inside unity so it can connect all the dots. maybe i'm wrong?
     
    screene likes this.
  5. steveh2112

    steveh2112

    Joined:
    Aug 30, 2015
    Posts:
    314
    awesome, thanks
     
  6. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,594
    Safer would be to export relevant assets as packages. Then you guarantee all dependencies to stay intact.
     
  7. SisusCo

    SisusCo

    Joined:
    Jan 29, 2019
    Posts:
    1,135
    Moving assets around inside the project view is totally safe. All references will remain intact, as Unity will automatically ensure that all .meta files are moved in sync with the asset files. Well, at least unless something unexpected like a system crash occurs in the middle of the operation (version control is your friend in such a scenario).
     
  8. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,594
    Yes you are right. I was thinking op want move files from other project, into currently open project.
    Your first solution is perfectly sound.
     
    SisusCo likes this.
  9. ddbrown30

    ddbrown30

    Joined:
    May 19, 2020
    Posts:
    9
    I'm trying to use this method in order to do a bunch of repetitive data management (specifically, going through about 80 prefabs and setting a Sprite param). The problem I'm having is that every time I click on a prefab in one Project window, it updates the other project window to be looking in the same directory, which completely defeats the purpose of having two windows open. Does anyone know if there's a way to fix this?
     
    jonglaaa, SamTyurenkov and zhaozony like this.
  10. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,120
    There's a tiny padlock icon at the top-right corner of most Unity windows. If you click that, then it freezes the window's context until you click it again. You could use that to lock the first project view so it stays static while you pick the other destination directory.
     
  11. ddbrown30

    ddbrown30

    Joined:
    May 19, 2020
    Posts:
    9
    That does it. Thanks!
     
  12. ibrahim_sharkas

    ibrahim_sharkas

    Joined:
    Sep 22, 2019
    Posts:
    2
    thank you for this