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. Dismiss Notice

Question hidden_changes.conf not hiding changes from pending changes.

Discussion in 'Unity Version Control' started by xXbollerXx, Sep 21, 2023.

  1. xXbollerXx

    xXbollerXx

    Joined:
    Aug 10, 2023
    Posts:
    6
  2. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    799
    HI, what is your Plastic SCM client version? Are you using the standalone client or the Unity plugin?
    Are you refreshing the "Pending changes" view after adding the item to the hidden changes list?
     
  3. xXbollerXx

    xXbollerXx

    Joined:
    Aug 10, 2023
    Posts:
    6
    Standalone as I'm using it for Unreal and not Unity.
    Yes. refreshed it, closed it, updated workspace, checked-in the .conf first.
     
  4. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    799
    Do you know that there is official support for Unreal as well?
    https://github.com/SRombauts/UEPlasticPlugin

    I can see in your screenshot that the file is checked-out. This is the problem, the hidden changes rules apply to locally changed files. If the file is checked-out, it will appear in pending changes.
     
  5. andreiagmu

    andreiagmu

    Joined:
    Feb 20, 2014
    Posts:
    172
    @carlosalba1985 How to stop specific files from being auto checked-out by the Unity Version Control plugin?

    Using the Enable Manual Checkout for Unity Assets option from Unity Version Control plugin isn't ideal, I and the repo users lose too much workflow time by doing manual checkouts for each and every change. (and this is error-prone in my opinion, it's easy to forget to manually checkout a file)

    We pretty much expect Unity Version Control to take care of that for us, by doing automatic checkouts of our intended changes (like usual), while also ignoring any file that may have been added to hidden_changes.
    I still expect to be able to do manual checkouts to those hidden files, but not have them automatically checked out by the plugin.

    My scenario: I added some high-churn files to hidden_changes. These files need to be controlled by the repo because every user requires a copy of the files (else, a third-party tool that expects these files completely breaks).
    These files have very frequent changes that are intended to be local for each user, so they shouldn't be checked in to the repo.

    These files shouldn't appear in the Pending Changes list (I already disabled Show hidden files).
    Unfortunately, when these files are changed (this happens during Play Mode, in my scenario), they're still being auto checked-out by the Unity Version Control plugin. Thus, they (unwantedly) appear in the Pending Changes list. :mad:

    I'm using:
    - Unity 2022.3.9f1
    - Version Control package v2.0.7 (it's installed in the Unity project, but I don't use the Unity Version Control window inside Unity)
    - Unity Version Control desktop app v11.0.16.8196 (I mainly use this one)
    - Windows 10
     
    Last edited: Oct 4, 2023 at 1:54 AM