Search Unity

Perforce P4Ignore: how to ignore Library/PackageCache/* ?

Discussion in 'External Tools' started by Bibzball, Apr 25, 2019.

  1. Bibzball

    Bibzball

    Joined:
    Sep 26, 2015
    Posts:
    20
    Hi Unity community,
    I am trying to setup Perforce for multiple Unity projects.
    I am used to setting up a P4Ignore, and my P4Ignore.txt file contains a */Library/ wildcard, which works almost fine...

    But since Unity 2018, the Library/PackageCache directory contains folders with an '@' character in the name <packagename>@<version> such as com.unity.textmeshpro@2.0.0
    And It seems like the '@' character is a reserved character in Perforce which causes these folders to NOT be ignored!

    Any Unity / Perforce user hit the problem yet and found a solution?
    Thanks.
     
    Oni07R and juicybeast like this.
  2. Oni07R

    Oni07R

    Joined:
    Feb 27, 2018
    Posts:
    2
    I am struggling with the same issue.
    The only solution I've found is using Perforce from inside Unity (it has antive support).
    I hope they will fix it asap/
     
  3. yeojoey

    yeojoey

    Joined:
    Feb 20, 2016
    Posts:
    7
    Bump.

    For now instead of adding the entire folder and letting the p4ignore do the work, I make sure never to add the Library folder. But it's very annoying.