Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Should the Packages Folder be Synced in Perforce?

Discussion in 'Package Manager' started by tommywright, Feb 8, 2019.

  1. tommywright

    tommywright

    Joined:
    Jun 21, 2012
    Posts:
    21
    I've searched around for this info but everything refers to older versions of Unity and now it seems there is much more stuff that goes into Packages.

    So for 2018.3.3f1, should I be including the Packages folder when syncing up to the Perforce Depot?

    Thanks so much!
     
  2. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    345
  3. tommywright

    tommywright

    Joined:
    Jun 21, 2012
    Posts:
    21
    Thank you so much Pascal! I thought so! I'll read over the docs again and try to see where I missed that.

    So right now I'm syncing Assets, ProjectSettings and now Packages.... and nothing else. Does that sound right?
     
  4. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    345
  5. tommywright

    tommywright

    Joined:
    Jun 21, 2012
    Posts:
    21
    Oh wow... I had not read that page.. the link you sent me Pascal. SUPER helpful!!!
     
    okcompute_unity likes this.
  6. tommywright

    tommywright

    Joined:
    Jun 21, 2012
    Posts:
    21
    Just to make sure.. I don't need that main .sln file right?
     
  7. okcompute_unity

    okcompute_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    345
    :) . It depends, if you made some customization to you solution, I think you can persist the solution. But for this one, I'm not 100% sure. I know this will be auto-generated if you don't have one.
     
  8. tommywright

    tommywright

    Joined:
    Jun 21, 2012
    Posts:
    21
    One of my buddies (a smart Unity guy) is saying to include the sln file to Perforce. Here's what he says...

    "Yeah, the solution should be in version control. The solution directs compilation from the top level; your game and in-editor code are two separate compilation targets, but they still need to be aware of each other, so the solution ties them together.
    It does a myriad of other things, too, but that's the gist."

    So I'm going to start including that.
     
    okcompute_unity likes this.
  9. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    136